求救,mysql啟動不了

由 hihihihi 在 12-23-2003 21:13 发表:

求救,mysql啟動不了

打入

[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!

我一重啟電腦後就不能啟動mysql,請問為什麼會這樣的呢???


由 fanf 在 12-23-2003 22:00 发表:


看看/etc/rc.d/init.d/mysqld start


由 hihihihi 在 12-23-2003 23:19 发表:


[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~~~


由 hihihihi 在 12-23-2003 23:27 发表:


error message in redhat-config-services,it shows:

mysqld dead but subsys locked


由 zjd713 在 12-24-2003 11:25 发表:


遇到过这种情况,编辑my.conf或做一下ln


由 hihihihi 在 12-24-2003 13:38

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus