Я установил и попытался настроить MySQL Server в Debian. После того, как я перезапустил Службу, она упала, и я не смог запустить ее снова.
Это следующий вывод статуса услуги:
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-06-01 19:23:14 CEST; 3min 18s ago
Process: 11112 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 11077 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 2845 (code=exited, status=0/SUCCESS)
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: mysql.service: Unit entered failed state.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: mysql.service: Failed with result 'exit-code'.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: Stopped MySQL Community Server.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: mysql.service: Start request repeated too quickly.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: Failed to start MySQL Community Server.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: mysql.service: Unit entered failed state.
Jun 01 19:23:14 h2836596.stratoserver.net systemd[1]: mysql.service: Failed with result 'exit-code'.
--- РАЗДЕЛ РЕДАКТИРОВАНИЯ: ---
Выход dpkg -l | grep mysql
:
ii mysql-client 5.7.26-1debian9 amd64 MySQL Client meta package depending on latest version
ii mysql-common 5.8+1.0.2 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-community-client 5.7.26-1debian9 amd64 MySQL Client
ii mysql-community-server 5.7.26-1debian9 amd64 MySQL Server
ii mysql-server 5.7.26-1debian9 amd64 MySQL Server meta package depending on latest version
rc php7.0-mysql 7.0.33-0+deb9u3 amd64 MySQL module for PHP
Выход service mysql start
:
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.