我用ie打开网页出现下面的问题: 打印 E-mail
  2008-04-15
我用ie打开www.ceshi.com网页出现下面的问题:
Connect ("localhost") to MySQL ("localhost","root") failed

The URL Is:
http://www.ceshi.com/index.php?

MySQL Server Error:
Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘ (2) ( 2002 )
关于Connect ("localhost") to MySQL ("localhost","root") failed,我并没有设置密码,数据库的属主设置为mysql了,会有问题吗?
关于Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘ (2) ( 2002 )
在/tmp文件夹下有mysql.sock文件,
[root@localhost /]# kill -9 13144
[root@localhost /]# /usr/local/mysql/bin/mysqld_safe -user=root &
[3] 26230
[root@localhost /]# A mysqld process already exists

[3] Exit 1 /usr/local/mysql/bin/mysqld_safe -user=root
这样显示是不是mysql已经起来了,请大家帮忙看一下,问题出在那里,谢谢
发表评论
网友评论

发表评论
用户访客
标题
BBCode:Web AddressEmail AddressBold TextItalic TextUnderlined TextQuoteCodeOpen ListList ItemClose List
评论



下一篇 >