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"
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.
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?