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

时间:2021-05-21 22:11:16

[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!

170414 0:35:28 [ERROR] Aborting

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

 

 

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