Всем привет!
Может кто подскажет, почему не стартует:
# systemctl status mysqld
● mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mysqld.service.d
└─user.conf
Active: failed (Result: exit-code) since Tue 2019-11-12 18:15:37 +05; 32s ago
Process: 10612 ExecStart=/usr/sbin/mysqld -C $CHSET $OPT (code=exited, status=1/FAILURE)
Process: 10111 ExecStartPre=/etc/chroot.d/mysql.all (code=exited, status=0/SUCCESS)
Process: 10110 ExecStartPre=/bin/sh -c if [ ! -d /var/lib/mysql/db/mysql ]; then /usr/sbin/mysqld -C $CHSET --initialize-insecure --user=mysql; fi (code=exited, status=0/SUCCESS)
Main PID: 10612 (code=exited, status=1/FAILURE)
ноя 12 18:15:36 server.firma.zn systemd[1]: Starting MySQL database server...
ноя 12 18:15:37 server.firma.zn systemd[1]: Started MySQL database server.
ноя 12 18:15:37 server.firma.zn systemd[1]: mysqld.service: Main process exited, code=exited, status=1/FAILURE
ноя 12 18:15:37 server.firma.zn systemd[1]: mysqld.service: Failed with result 'exit-code'.
# cat /etc/my.cnf
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
[mysqld]
sql_mode = NO_ENGINE_SUBSTITUTION