在Redhat Linux 5里用mysqld命令出错,帮看看
[root@localhost ~]# mysqld stop
100907 1:39:25 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
100907 1:39:25 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!100907 1:39:25 [ERROR] Aborting100907 1:39:25 [Note] mysqld: Shutdown complete用/etc/init.d/mysqld stop也是一样的出错提示该怎么用
[root@localhost ~]# mysqld stop
100907 1:39:25 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
100907 1:39:25 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!100907 1:39:25 [ERROR] Aborting100907 1:39:25 [Note] mysqld: Shutdown complete用/etc/init.d/mysqld stop也是一样的出错提示该怎么用
/your-mysql-home/bin/safe_mysqld --user=mysql然后在使用/etc/init.d/mysqld restart/stop/start等如果还是不行
/etc/my.conf中的mysqld这一节中加入
user=mysql然后再尝试