Jump to content

Archived

This topic is now archived and is closed to further replies.

Nothadoth

Help. Error connecting to the database

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.