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 :
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?