sourcecode

MariaDB 10.2.16 데이터베이스 서버를 시작하지 못했습니다.

copyscript 2022. 9. 22. 00:11
반응형

MariaDB 10.2.16 데이터베이스 서버를 시작하지 못했습니다.

들어갔을 때systemctl status mariadb.service

출력은 다음과 같습니다.

mariadb.service - MariaDB 10.2.16 database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           └─migrated-from-my.cnf-settings.conf
   Active: failed (Result: exit-code) since Tue 2018-07-17 13:53:46 +06; 24s ago
     Docs: man:mysqld(8)
           https://mariadb.com/kb/en/library/systemd/
  Process: 7342 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
  Process: 7058 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   && system
  Process: 7054 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 7052 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
 Main PID: 7342 (code=exited, status=1/FAILURE)
   Status: "MariaDB server is down"

Jul 17 13:53:43 munim-Inspiron-5548 systemd[1]: Starting MariaDB 10.2.16 database server...
Jul 17 13:53:43 munim-Inspiron-5548 mysqld[7342]: 2018-07-17 13:53:43 139955312822464 [Note] /usr/sbin/mysqld (mysqld 10.2.16-MariaDB-10.2.16+m
Jul 17 13:53:46 munim-Inspiron-5548 systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Jul 17 13:53:46 munim-Inspiron-5548 systemd[1]: Failed to start MariaDB 10.2.16 database server.
Jul 17 13:53:46 munim-Inspiron-5548 systemd[1]: mariadb.service: Unit entered failed state.
Jul 17 13:53:46 munim-Inspiron-5548 systemd[1]: mariadb.service: Failed with result 'exit-code'.

로그인을 시도했습니다.mysql -u root -p알 수 있다

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

누가 제안 좀 해주시겠어요?

언급URL : https://stackoverflow.com/questions/51377129/failed-to-start-mariadb-10-2-16-database-server

반응형