Question
CentOS MySQL server won't start
Hey,
I have installed MySQL on my CentOS 7 server, but it won’t start. When i try to start it with the command “sudo service mysqld start” i get the message “Job for mysqld.service failed. See ‘systemctl status mysqld.service’ and 'journalctl -xn’ for details.” after about 5 minutes.
I have searched Google all day, and just can’t find a solution..
Log:
150111 10:06:40 mysqldsafe A mysqld process already exists
150111 10:20:35 mysqldsafe A mysqld process already exists
150111 10:30:35 mysqldsafe A mysqld process already exists
150111 10:40:35 mysqldsafe A mysqld process already exists
Please help…
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I am not familiar with CentOS, but had a similar issue in Ubuntu. I was able to use this:
/etc/init.d/mysql stop
/etc/init.d/mysql start