输入localhost出来这个错误:无法访问该网页错误类型: 500
详细信息是:Can't contact the database server: Access denied for user 'AEED/User'@'localhost' (using password: YES) (localhost)
详细信息是:Can't contact the database server: Access denied for user 'AEED/User'@'localhost' (using password: YES) (localhost)
结果:
错误1067:进程意外终止。
如何解决这个原因呢?
Can't contact the database server: Access denied for user 'AEED/User'@'localhost' (using password: YES) (localhost)
显示 mysql 服务是启动的否则应该是类似 由于目标机器积极拒绝,无法连接。 的错误信息
(Can't contact the database server: Can't connect to MySQL server on 'localhost' (10061) (localhost))
php关系不大
主要原因是你的数据库使用了密码,而你连接的时候没有使用密码!
你连接的时候是不是使用root然后密码为空?
而你连接的数据库是需要密码的!
这个问题我遇到过,一般都是数据库密码的问题!兄弟去看看吧!
错误 1067: 进程意外终止。代码是我拷贝过来的。环境应该是搭好了,别人写了个phpinfo.php给我都能测试通,但就是输入localhost的时候:
提示:
(Can't contact the database server: Can't connect to MySQL server on 'localhost' (10061) (localhost))解决了,送千分,搞了很久,头大啊。