Database problem

tony_b - September 23, 2008 - 21:49

Hi

I keep getting this message while trying to install drupal. the database info is right but i keep getting this

Failed to connect to your MySQL database server. MySQL reports the following message: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2).

* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct database hostname?
* Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

can anyone help me out here?

Seperate server?

pcs305 - September 23, 2008 - 21:51

Is the DB Server on localhost or on a seperate server?

Also, why do you believe

cog.rusty - September 23, 2008 - 22:30

Also, why do you believe that the database info is right? Were you able to access the database in some other way? How? Did you use explicitly the same db server name, db name and db user name to access it successfully?

Yes the DB is on the same localhost

tony_b - September 24, 2008 - 21:16

Yes the DB is on the same localhost. It is the right details because I copied and paste the details from the
DB straight to the drupal configurations. I belive it is right because thats wot it shows me. I wasnt able to access the database
any other way.

 
 

Drupal is a registered trademark of Dries Buytaert.