安装出错、怎么解决?

By yo846tt at 2015-05-12 • 0人收藏 • 1845人看过

Unhandled Exception. 
SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)
You can find the error back in the log.

QQ截图20150511140504.png

安装出错

这是我的运行环境

5 个回复 | 最后更新于 2015-05-12
2015-05-12   #1

无法连接到MySQL数据库,你的环境配置也是有问题的。

你可以尝试:重启MySQL服务 / 检查MySQL端口号是否为默认端口号 / telnet检测3306端口是否已经打开。

2015-05-12   #2

或者将数据库连接地址从127.0.0.1更换地址为localhost

111错误有可能是你绑定了MySQL连接域,所以不能通过本地IP地址127.0.0.1来连接。

2015-05-12   #3
2015-05-12   #4

回复#2 @lincanbin :

Unhandled Exception. 
SQLSTATE[28000] [1045] Access denied for user 'yo846tt'@'localhost' (using password: YES)
You can find the error back in the log.

也不行,我用的是阿里云服务器搭载amh5.0面板,其他程序安装正常。

2015-05-12   #5

回复#4 @yo846tt :

那就得检测你的pdo驱动是怎么编译的了。

登录后方可回帖

登 录
信息栏

Carbon Forum是一个基于话题的高性能轻型PHP论坛

下载地址:Carbon Forum v5.9.0
QQ群:12607708(QQ我不常上)

donate

手机支付宝扫描上方二维码可向本项目捐款

粤公网安备 44030602003677号
粤ICP备17135490号

Loading...