Cannnot connect to MySQL database

Status
Not open for further replies.

ViperBlade

New Member
Messages
186
Reaction score
0
Points
0
For some reason I'm thrown
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'viperb_admin'@'localhost' (using password: YES) in /home/viperb/public_html/mysql.php on line 3
Has anything changed recently requiring me to change my mysql.php page?
PHP:
<?
mysql_connect("localhost", "viperb_admin", "thisisnttherealpass");
mysql_select_db("viperb_pervs");
?>
I know MySQL isn't down, and I have full PHPMyAdmin access...
Any suggestions?
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Please delete the MySQL user, and re-add it with the same password and permissions as before and then add it to the database again; this should resolve the problem.

-Luke.
 
Status
Not open for further replies.
Top