mysql:using password : yes

来源:互联网 发布:知商金融活动 编辑:程序博客网 时间:2024/06/16 23:31
1,你的mysql服务器的名字写错,
2,你的用户名写错,
3,你的密码写错。
4,你的用户名没有权限。
其中有一样错误就会出错。
在默认的情况下,服务器名可以是localhost,用户名是root,密码为空。
mysql_connect("localhost","root","");
阅读全文
0 0