安装了Wamp后,运行测试testmysql.php显示连接不成功

版权声明:learn spots ,CREAT areas https://blog.csdn.net/whalefall/article/details/85086330

解决方法:testmysql.php这个文件是用来检测mysql的连接情况的 打开这个文件 hostname改为localhost. dbuser改为root. dbpassword改为空(mysql默认root用户的密码为空) 保存文件 重新试下 会显示:connection OK

猜你喜欢

转载自blog.csdn.net/whalefall/article/details/85086330