mysql启动报: Please read "Security" section of the manual to find out how to run mysqld as root!

很简单,vim 你的my.cnf

[mysqld]
user=mysql

   在mysqld下指定用户,问题原因为使用root来启动是不安全的,程序自动阻拦,可以使用root用户强制启动(不建议)

posted @ 2018-06-16 17:23  什么,基地没了?  阅读(1776)  评论(0编辑  收藏  举报