Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/drupal/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu 13.04 Lamp和drush_Ubuntu_Drupal_Drupal 7_Lamp_Drush - Fatal编程技术网

Ubuntu 13.04 Lamp和drush

Ubuntu 13.04 Lamp和drush,ubuntu,drupal,drupal-7,lamp,drush,Ubuntu,Drupal,Drupal 7,Lamp,Drush,我在Ubuntu13.04上运行Lamp stack,当我尝试使用drush进行缓存清除时,我得到以下错误: 我知道这是因为灯。例如,当我想要连接到mysql时,我必须手动指定套接字文件,这很好(由于别名)。但是如何为drush指定套接字呢?除了移除lamp和安装适当的堆栈之外,有人找到了解决方案吗?您是否尝试过将settings.php中的db主机设置为127.0.0.1而不是localhost

我在Ubuntu13.04上运行Lamp stack,当我尝试使用drush进行缓存清除时,我得到以下错误:


我知道这是因为灯。例如,当我想要连接到mysql时,我必须手动指定套接字文件,这很好(由于别名)。但是如何为drush指定套接字呢?除了移除lamp和安装适当的堆栈之外,有人找到了解决方案吗?

您是否尝试过将settings.php中的db主机设置为127.0.0.1而不是localhost