Shakeynath Posted March 22, 2010 Share Posted March 22, 2010 Ive just changed hosts for my game http://www.solarbattles.co.uk ... Ive come to add all the files and make a new database and now this message comes up ! Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'solarbat'@'localhost' (using password: YES) in /home/solarba2/public_html/class/class_db_mysql.php on line 46 FATAL ERROR: Could not connect to database on localhost (Access denied for user 'solarbat'@'localhost' (using password: YES)) How would i change the server address so it will go to solarba2@localhost ??? Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted March 22, 2010 Share Posted March 22, 2010 Go too config.php maybe? Quote Link to comment Share on other sites More sharing options...
Shakeynath Posted March 22, 2010 Author Share Posted March 22, 2010 I must be stupid lmaoo Thanks for this mate Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.