Jump to content


Help. Error connecting to the database

  • Please log in to reply
2 replies to this topic

#1 Nothadoth

  • Members
  • PipPipPip
  • Advanced Member
  • 119 posts

Posted 21 August 2006 - 04:37 PM

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.

#2 switchdoc

  • Members
  • PipPip
  • Member
  • 22 posts
  • LocationColorado

Posted 21 August 2006 - 05:35 PM


  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.


#3 ToonMariner

  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 21 August 2006 - 05:43 PM

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.
follow me on twitter @PHPsycho

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users