How make mysql start automatically ? (linux-cli only)

前端 未结 9 1606
没有蜡笔的小新
没有蜡笔的小新 2020-12-23 12:43

How can i make mysql start every time the system boot ? I need that in a dedicated server(ubuntu distro) in which i have my blog, but every time the server goes down, on boo

9条回答
  •  遥遥无期
    2020-12-23 13:31

    No answer helped. Finally chkconfig and update-rc.d did not work with MySQL on my machine.

    Solution, I had a file /etc/init/mysql.override which contained

    manual
    

    i just deleted that file

    $ sudo rm /etc/init/mysql.override
    

提交回复
热议问题