Home >Backend Development >PHP Tutorial >连接数据库失败是什么原因?

连接数据库失败是什么原因?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 14:19:441685browse

数据库 Apache 密码

用APACHE作为服务器,MYSQL作为数据库,都是用ROOT用户,密码:123456。报连接数据库失败是什么原因?
我用SQLYOG查看数据库是正常的。用户名和密码没错。是什么原因?

回复讨论(解决方案)

./install_amp --username=root --password=123456
就是这条启动语句,什么原因?

建议贴出错误信息以供分析

 ./install_amp --username=root --password=123456
是什么东东

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn