mysql多实例配置下,用脚本启动mysql时,出现Please read "Security" section of the manual to find out how to run mysqld

[root@localhost 3308]# mysqld stop
170414 0:35:28 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
170414 0:35:28 [Note] mysqld (mysqld 5.5.54) starting as process 16214 ...
170414 0:35:28 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!mysql

170414 0:35:28 [ERROR] Abortingsql

170414 0:35:28 [Note] mysqld: Shutdown completeit

 

 

因为mysqld是脚本要用   ./mysqld start的方式才能启动,另外注意user=mysql 是否有加入到配置文件中io

相关文章
相关标签/搜索