select version();
1,mysql 的守護進程是mysqld
[root@localhost ~]# service mysqld start
啟動 MySQL: [確定]
你可以看看你的服務是否已經添加到linux上
[root@localhost ~]# chkconfig --list mysqld
mysqld 0:關閉 1:關閉 2:關閉 3:關閉 4:關閉 5:啟用 6:關閉
[root@localhost ~]#
如果沒有,先添加,用chkconfig --add mysqld
然后在3 5級別上設定服務為on
chkconfig --level 35 mysqld on
然后service start一下;
一旦你啟動了服務,可以這樣檢查服務器是否在運行
[root@localhost ~]# ps -el | grep mysqld
4 S 0 1796 1 0 85 0 - 1513 wait ? 00:00:00 mysqld_safe
4 S 27 1856 1796 0 78 0 - 34055 - ? 00:00:00 mysqld
[root@localhost ~]#
如果你看到有,就說明服務器安裝起來了~~
(有可能底版本的mysql守護進程為mysql,你都試試吧)