0

I'm trying to start MySQL service but encountering this error:

root@orangepiplus2e:~# systemctl start mysql.service

Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
3
  • 1
    OK so what's the output of systemctl status mysql.service and journalctl -xe?
    – Kulfy
    Jul 25, 2019 at 15:55
  • root@orangepiplus2e:~# systemctl status mysql.service * mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2019-07-26 08:07:25 +07; 2min 58s ago Process: 1710 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE) @Kulfy
    – Pee Tou
    Jul 26, 2019 at 1:11
  • Do You have any errors in the logs /var/log/mysql/error.log ? Sep 1, 2019 at 19:49

0

You must log in to answer this question.

Browse other questions tagged .