当然不是,下不同版本的mysql可以在不同的操作系统中运行。
有linux版的mysql 也有windows版的。
ql_safe --user=root & 这个是最原始的
如果你想通过 start stop status改变或显示mysql服务得状态。
请
[root@localhost mysql]# cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysql.server
[root@localhost mysql]# /etc/init.d/mysql.server status
MySQL is not running [失败]
[root@localhost mysql]# /etc/init.d/mysql.server start
Starting MySQL. [确定]
[root@localhost 桌面]# /etc/init.d/mysql.server status
MySQL running (3464) [确定]