Nothadoth Posted August 21, 2006 Share Posted August 21, 2006 I have transferred my site to another server, and changed the db connect details and I am coming up with all sorts of errors. Can someone tell me why?The username, password and database are all correct. I was thinking it was something to do with localhost but when I rang up the server they said it wasnt. Said it was something to do with mysql.Here is there errors: http://www.igbltd.co.uk/Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/18207-help-error-connecting-to-the-database/ Share on other sites More sharing options...
switchdoc Posted August 21, 2006 Share Posted August 21, 2006 Hello, That definitely looks to be the standard error you get when it can't log into the database. So, the things to check would be to verify that the username, password, and address of the DB are correct. This is assuming the code itself didn't change and you are still calling the db connection where required, etc.-Switch Quote Link to comment https://forums.phpfreaks.com/topic/18207-help-error-connecting-to-the-database/#findComment-78177 Share on other sites More sharing options...
ToonMariner Posted August 21, 2006 Share Posted August 21, 2006 did ur hosts say that 'localhost' was the correct path to your mysql server? It may be there is a different machine running mysql - not uncommon. Quote Link to comment https://forums.phpfreaks.com/topic/18207-help-error-connecting-to-the-database/#findComment-78189 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.