php 连 MYSQL 问题 可能是配置的问题,麻烦在的给看看了。
<?php
$link = mysql_connect("localhost:3306", "root", "root")
or die("Could not connect");
print ("Connected successfully");
mysql_close($link);
?>
上面是原始文件。
下面是出错提示:Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in d:\homework\xml\test.php on line 2
摆脱了