写了一个最简单的数据库连接的例子,但是提示如下错误,用户名和密码肯定没有问题,phpmyadmin可以用这个用户名和密码正常登录,请帮助看一下是什么原因,多谢。
A PHP Error was encounteredSeverity: Warning Message: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) Filename: mysql/mysql_driver.php Line Number: 73
A Database Error OccurredUnable to connect to your database server using the provided settings. Filename: E:\xampp\htdocs\ci\system\database\DB_driver.php Line Number: 124
|