MySQL Job failed to start

后端 未结 13 1914
离开以前
离开以前 2021-01-30 14:40

I\'m on Kubuntu 12.04, and after installing mysql via an apt-get (mysql ver: 5.5.35), i\'m trying to start mysql service, but I got this error:

sudo servi

13条回答
  •  醉酒成梦
    2021-01-30 15:22

    Check the file permissions, if edited

    Fail:

    $ sudo chmod 776 /etc/mysql/my.cnf
    $ sudo service mysql restart
    mysql stop/waiting
    start: Job failed to start
    

    Ok:

    $ sudo chmod 774 /etc/mysql/my.cnf
    $ sudo service mysql restart
    stop: Unknown instance:
    mysql start/running, process 9564
    

提交回复
热议问题