MySQL Job failed to start

后端 未结 13 1864
离开以前
离开以前 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:15

    Reinstallation will works because it will reset all the value to default. It is better to find what the real culprits (my.cnf editing mistake does happens, e.g. bad/outdated parameter suggestion during mysql tuning.)

    Here is the mysql diagnosis if you suspect some value is wrong inside my.cnf : Run the mysqld to show you the results.

    sudo -u mysql  mysqld 
    

    Afterwards, fix all the my.cnf key error that pop out from the screen until mysqld startup successfully.

    Then restart it using

    sudo service mysql restart
    

提交回复
热议问题