I am getting this error when I start mysql service with this command :
systemctl start mysql
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
Later I ran this commad to check :
systemctl status mysql.service
Result :
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2016-10-10 13:20:22 IST; 19s ago
Docs: man:systemd-sysv-generator(8)
Process: 6445 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Oct 10 13:19:52 invidev1-PC /etc/init.d/mysql[6460]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Oct 10 13:19:52 invidev1-PC mysql[6445]: * Starting MySQL database server mysqld
Oct 10 13:19:52 invidev1-PC su[6481]: Successful su for mysql by root
Oct 10 13:19:52 invidev1-PC su[6481]: + root:mysql
Oct 10 13:19:52 invidev1-PC su[6481]: pam_unix(su:session): session opened for user mysql by (uid=0)
Oct 10 13:20:22 invidev1-PC mysql[6445]: ...fail!
Oct 10 13:20:22 invidev1-PC systemd[1]: mysql.service: Control process exited, code=exited status=1
Oct 10 13:20:22 invidev1-PC systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Oct 10 13:20:22 invidev1-PC systemd[1]: mysql.service: Unit entered failed state.
Oct 10 13:20:22 invidev1-PC systemd[1]: mysql.service: Failed with result 'exit-code'.
Please help me asap
systemctl start mysql
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
Later I ran this commad to check :
systemctl status mysql.service
Result :
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2016-10-10 13:20:22 IST; 19s ago
Docs: man:systemd-sysv-generator(8)
Process: 6445 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Oct 10 13:19:52 invidev1-PC /etc/init.d/mysql[6460]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Oct 10 13:19:52 invidev1-PC mysql[6445]: * Starting MySQL database server mysqld
Oct 10 13:19:52 invidev1-PC su[6481]: Successful su for mysql by root
Oct 10 13:19:52 invidev1-PC su[6481]: + root:mysql
Oct 10 13:19:52 invidev1-PC su[6481]: pam_unix(su:session): session opened for user mysql by (uid=0)
Oct 10 13:20:22 invidev1-PC mysql[6445]: ...fail!
Oct 10 13:20:22 invidev1-PC systemd[1]: mysql.service: Control process exited, code=exited status=1
Oct 10 13:20:22 invidev1-PC systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Oct 10 13:20:22 invidev1-PC systemd[1]: mysql.service: Unit entered failed state.
Oct 10 13:20:22 invidev1-PC systemd[1]: mysql.service: Failed with result 'exit-code'.
Please help me asap
Comment