Chinaunix

标题: 停电后,mysql提示数据连接错误,求助 [打印本页]

作者: sunmoonsea    时间: 2007-04-04 16:18
标题: 停电后,mysql提示数据连接错误,求助
停电前系统一直正常运行,停电后启动服务器,邮件系统提示数据连接错误,以前出现这种错误的时候,通过mysqlcheck就可以恢复连接。
现在在服务器上使用root登陆系统,使用mysql提示:
Error 1405: Access denied for user: ‘root@localhost’(using password = no)
重启mysql数据库,也没有提示启动done.
启动邮件服务时service umss start提示:
Mysql_real_connect() fail Access denied for user:’ca@localhost’ (using password= yes)
Transaction sServer exit
connectUnixSocket( /usr/local/umss/syncsvr.sock) fail : connection refused
SET MAX OPEN FILE => 8192



我原来的mysql没有设置密码,不知道为什么重启电脑后mysql就无法连接了,怎么验证mysql已经完全启动了呐?
作者: yejr    时间: 2007-04-04 18:12
怀疑是断电后自动启动了其他的mysqld了,而不是原来使用的那个。又或者之前有人手工改密码了,但是没有flush




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2