Finally, I have a solution: Finally, I have a solution: Edit the settings.php file of your drupal installation, and go to the database settings entry. change the host line to: 'host' => php_sapi_name() == 'cli' ? '127.0.0.1' : 'localhost', Solution courtesy of this post on drupal.org: https://www.drupal.org/node/1428638 Cheers! Reply
Finally, I have a solution:
Edit the settings.php file of your drupal installation, and go to the database settings entry.
change the host line to:
'host' => php_sapi_name() == 'cli' ? '127.0.0.1' : 'localhost',
Solution courtesy of this post on drupal.org:
https://www.drupal.org/node/1428638
Cheers!