Answer the question
In order to leave comments, you need to log in
Why MySQL can't start?
Can't start mysql with error:
Dec 02 17:41:19 systemd[1]: mysql.service: Control process exited, code=exited status=1
Dec 02 17:41:19 systemd[1]: mysql.service: Failed with result 'exit-code'.
Dec 02 17:41:19 systemd[1]: Failed to start MySQL Community Server.
Dec 02 17:41:19 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Dec 02 17:41:19 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Dec 02 17:41:19 systemd[1]: Stopped MySQL Community Server.
Dec 02 17:41:19 systemd[1]: mysql.service: Start request repeated too quickly.
Dec 02 17:41:19 systemd[1]: mysql.service: Failed with result 'exit-code'.
Dec 02 17:41:19 systemd[1]: Failed to start MySQL Community Server.
mysql: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
mysql: [ERROR] Fatal error in defaults handling. Program aborted!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Answer the question
In order to leave comments, you need to log in
I assume that there is not enough RAM to run, try increasing the value innodb_buffer_pool_size
in the file /etc/my.cnf
Should help
And so look what the Mysql error log says/var/log/mysql/error.log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question