首页上一页 1 下一页尾页 5 条记录 1/1页
求教(mr\04\sl\02)
发表在PHP图书答疑
2009-07-17
是否精华
是
否
版块置顶:
是
否
PHP网络编程自学手册第四章 mr\04\sl\02 运行后出现如下错误
Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected. PID=3224 in C:\AppServ\www\02\conn\conn.php on line 2
Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication in C:\AppServ\www\02\conn\conn.php on line 2
Warning: mysql_connect() [function.mysql-connect]: in C:\AppServ\www\02\conn\conn.php on line 2
Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\AppServ\www\02\conn\conn.php on line 3
原文件我一个字没改动,就出这个错误了。
为什么?数据库密码是“root"没错
Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected. PID=3224 in C:\AppServ\www\02\conn\conn.php on line 2
Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication in C:\AppServ\www\02\conn\conn.php on line 2
Warning: mysql_connect() [function.mysql-connect]: in C:\AppServ\www\02\conn\conn.php on line 2
Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\AppServ\www\02\conn\conn.php on line 3
原文件我一个字没改动,就出这个错误了。
为什么?数据库密码是“root"没错