小编典典

致命错误:请阅读本手册的“安全性”部分,以了解如何以root身份运行mysqld

sql

我不确定如何解决此问题:

dyn-72-33-214-45:python mona$ sudo /usr/local/mysql/bin/mysqld stop
2014-09-06 09:49:04 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-09-06 09:49:04 22992 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql-5.6.15-osx10.7-x86_64/data/ is case insensitive
2014-09-06 09:49:04 22992 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

2014-09-06 09:49:04 22992 [ERROR] Aborting

2014-09-06 09:49:04 22992 [Note] Binlog end
2014-09-06 09:49:04 22992 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

阅读 145

收藏
2021-03-17

共1个答案

小编典典

我使用的是OS X(优胜美地),当我从小牛升级到优胜美地时,发生了此错误。通过使用此命令已解决

sudo /usr/local/mysql/support-files/mysql.server start
2021-03-17