Basic MySQL Setup Question
Posted by: swortis
Posted on: 2009-02-10 13:29:00
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: "mysql.dev.mydomain.com"
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?
Thanks!
Edited by swortis on 02/10/09 01:32 PM (server time).