产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

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

受不了了 支持


2013-10-07 01:43:49 1

amysql
创始人
16530.81 价值分

  支持 (0分)  反对 (0分)
回复  2013-10-07 14:20:07 2

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

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