为什么会这样?当我运行drush状态时,它会完全跳过我的数据库:
drush status
Drupal version : 7.38
Site URI : http://default
PHP executable : /Applications/MAMP/bin/php/php5.5.23/bin/php
PHP configuration : /Applications/MAMP/bin/php/php5.5.23/conf/php.ini
PHP OS : Darwin
Drush script : /usr/local/Cellar/drush/HEAD/libexec/drush.php
Drush version : 8.0-dev
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /Users/Ambi/.drush/aliases.drushrc.php
/Applications/MAMP/htdocs/UCLALIB/www/sites/all/drush/aliases.drushrc.php
Drupal root : /Applications/MAMP/htdocs/UCLALIB/www
Site path : sites/default
答案 0 :(得分:0)
想出来。如果我在drush之后附加@bs,即'drush @bs status',因为aliases.drushrc.php有这一行,所以Drush会工作:
// Your local development server.
$aliases['bs'] = array(
...
(drush status - 不起作用):