[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