0

I'm running Lamp stack on Ubuntu 13.04, and when I try to use drush to, for example, cache-clear, I get the following error :enter image description here

I know it's because of Lamp. For example when I want to connect to mysql, I have to manually specify the socket file, which is fine (thanks to aliases). But how can I specify socket for drush? Has anyone found a solution to this apart from removing lamp and installing proper stack?

Evaldas Raisutis
  • 1,628
  • 4
  • 18
  • 32

1 Answers1

0

Have you tried setting the db host in settings.php to 127.0.0.1 instead of localhost?

dan-lyn
  • 1
  • 1