MySQL数据库连接失败?
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\liuyanban\config.php on line 3
数据库连接失败
我的代码 :
<?php
header('Content-Type:text/html;charset=utf-8');
$conn=mysql_connect('localhost','root','111111')or die("数据库连接失败");
mysql_select_db("guestbook")or die("数据表连接失败");
?>