Warning: mysql_connect() [function.mysql-connect]: Access denied for user ✀r

2024-12-14 21:41:00
推荐回答(2个)
回答1:

我刚刚解决这个问题,我的原因是用户名错误
我用的是WAMP集成环境
$database_address = "localhost";
$database_username = "root";
$database_password = "";
$database_tablename = "baigoo12";
$con = mysql_connect($database_address, $database_username, $database_password);
mysql_select_db($database_tablename, $con);
?>

回答2:

帖的不全...把完整的帖出来