产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请编程助手免费智能写代码、翻译NewAMYSQL 免费MySQL管理工具AMFTP 免费FTP管理客户端

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] AMH安装完后就无法连接MySQL

Tou
铝牌会员
284.00 价值分

Tou 发表于 2013-10-07 01:43:49
[Amysql-Notice] Access denied for user 'root'@'localhost' (using password: YES) Mysql链接出错,请配置/Amysql/config.php文件。#

无法连接mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

查看日志:/usr/local/mysql/data/*.err
131007 01:31:01 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
131007 1:31:01 [Note] Plugin 'InnoDB' is disabled.
131007 1:31:01 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
131007 1:31:01 [Note] - '0.0.0.0' resolves to '0.0.0.0';
131007 1:31:01 [Note] Server socket created on IP: '0.0.0.0'.
131007 1:31:01 [Note] Event Scheduler: Loaded 0 events
131007 1:31:01 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.25-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
131007 1:33:04 [Note] /usr/local/mysql/bin/mysqld: Normal shutdown

131007 1:33:04 [Note] Event Scheduler: Purging the queue. 0 events
131007 1:33:04 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

131007 01:33:04 mysqld_safe mysqld from pid file /usr/local/mysql/data/i1496.pid ended
131007 01:33:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
131007 1:33:07 [Note] Plugin 'InnoDB' is disabled.
131007 1:33:07 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
131007 1:33:07 [Note] - '0.0.0.0' resolves to '0.0.0.0';
131007 1:33:07 [Note] Server socket created on IP: '0.0.0.0'.
131007 1:33:07 [Note] Event Scheduler: Loaded 0 events
131007 1:33:07 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.5.25-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution




Google问题,需要重置密码
root@i1496:~# mysqladmin -uroot password '123'
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

重装了X次AMH 以及各种版本AMH

受不了了 支持


评价: 这个问题有价值吗?  没有 (0分)   有, 感谢 (0分)
2013-10-07 01:43:49 1

amysql
创始人
99530.04 价值分

评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-10-07 14:20:07 2

AMH面板 - 好用高效低占用、安全可靠极稳定

 1  (总1页)
AMH社区列表
用户服务中心