打入
[root@redhat90 root]# /etc/rc.d/init.d/mysqld status
mysqld 停止執行但 subsys 已鎖定
打入
[root@redhat90 root]# service mysql restart
mysql: unrecognized service
打入
[root@redhat90 root]# /usr/bin/mysqladmin -u root password 12345678
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql
.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' ex
ists!
[root@redhat90 root]# /etc/rc.d/init.d/mysqld start
啟動 MySQL: [ 確定 ]
i found that my mysql.sock is a blank file...how to solve it??
sorry,i can't type chinese in linux,thanks for your help~~~