Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root

原因: 

这是因为在测试的时候,使用root来启动的。而从安全角度来讲,不建议用root用户启动。

解决方案:

/usr/sbin/mysqld --skip-grant-tables --skip-networking --user=root &

猜你喜欢

转载自blog.csdn.net/u011365831/article/details/81430557