Closed (duplicate)
Project:
Drupal core
Version:
4.7.0
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2006 at 11:33 UTC
Updated:
18 Jul 2006 at 12:27 UTC
Recently my web host had some down time and I got the following error from drupal with the drupal logo on it;
Unable to connect to database server
This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111).
Currently, the username is XXXXXXXXXX and the database server is localhost.
Wouldn't it be prudent not to show the username and the ip/location/name of the MySql server?
Comments
Comment #1
heine commentedduplicate of http://drupal.org/node/62098