Basic MySQL Setup Question

I’m setting a Drupal installation but getting an error when Drupal attempts to connect to the SQL database I’ve created.

I have database name = "something_d6"
user = "someuser"
hostname: “

But attempting to connect using localhost are failing. Have tried writing out the hostname as well (not using ‘localhost’) but that fails too. I’ve set the allowable hosts to be the domain name.

Error message:

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

I’m sure there’s something obvious I’m overlooking. Anyone have a suggestion?


Weird… Waited a half hour and tried again and now it works.

I guess there is a delay.

Probably the wait time for your pointer to update locally.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost