Add new comment

Drush logo

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!

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.