Jump to content
MakeWebGames

Database FATAL error


Dazza

Recommended Posts

Hello all,

Just swapped servers and after installing my game on the new server I get this msg:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'BLAH1'@'BLAH2' (using password: YES) in /home/*****/public_html/class/class_db_mysql.php on line 46

FATAL ERROR: Could not connect to database on localhost (Access denied for user 'BLAH1'@'BLAH2' (using password: YES))

Now, BLAH1 (Username) and BLAH2 (Localhost) - I think this needs to be changed for the new servers details but how do I do that? I looked in class_db_mysql.php and couldnt see anything that may look obvious to change.

Anyone help? Been pulling my hair out over this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...