Skip to content

Instantly share code, notes, and snippets.

@mikeyp
Created March 16, 2015 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeyp/212e42fc020bf6c58922 to your computer and use it in GitHub Desktop.
Save mikeyp/212e42fc020bf6c58922 to your computer and use it in GitHub Desktop.
mikey-p ~/git/projectname/drupal (dev): drush --version
Drush Version : 7.0.0-alpha9
mikey-p ~/git/projectname/drupal (dev): drush sql-conf
Array
(
[driver] => mysql
[database] => projectname
[username] => root
[host] => localhost
)
mikey-p ~/git/projectname/drupal (dev): drush sa @prod
$aliases["prod"] = array (
'uri' => 'projectname.com',
'root' => '/var/www/sites/virtual/projectname.com/current/drupal',
'remote-host' => 'pl-web11-prod.projectname.com',
'path-aliases' =>
array (
'%files' => 'sites/default/files/',
'%dump-dir' => '/tmp',
),
'#file' => '/Users/mdp/git/projectname/drupal/sites/default/aliases.drushrc.php',
'#name' => 'prod',
);
mikey-p ~/git/projectname/drupal (dev): drush @prod sql-conf
The drush command '@prod sql-conf' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have installed new [error]
extensions.
mikey-p ~/git/projectname/drupal (dev): drush status
Drupal version : 7.34
Site URI : http://default
Database driver : mysql
Database hostname : localhost
Database username : root
Database name : projectname
Database : Connected
Drupal bootstrap : Successful
Drupal user :
Default theme : projectname
Administration theme : seven
PHP executable : /usr/local/bin/php
PHP configuration : /usr/local/etc/php/5.6/php.ini
PHP OS : Darwin
Drush version : 7.0.0-alpha9
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /Users/mdp/.drush/6lzup6cije766.aliases.drushrc.php /Users/mdp/git/projectname/drupal/sites/default/aliases.drushrc.php
Drupal root : /Users/mdp/git/projectname/drupal
Site path : sites/default
File directory path : sites/default/files
Private file directory path : sites/default/files/private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment