By woza on
Hello all
I know this is covered lots but I just can't get this to work as expected.
My host is Site5. The following returns the correct information form the server when run from my local machine.
drush thedesig@thedesignshop.biz/home/thedesig/public_html status
Drupal version : 7.12
Site URI : thedesignshop.biz
Database driver : mysql
Database hostname : localhost
Database username : thedesig_drpl1
Database name : thedesig_drpl1
Database : Connected
Drupal bootstrap : Successful
Drupal user : Anonymous
Default theme : bartik
Administration theme : seven
PHP configuration : /usr/local/lib/php.ini
Drush version : 4.4
Drush configuration :
Drush alias files :
Drupal root : /home/thedesig/public_html
Site path : sites/default
File directory path : sites/default/filesSo I have set up an alias as follows
$aliases['live'] = array(
'root' => '/home/thedesig/public_html',
'uri' => 'thedesignshop.biz',
'remote_host' => 'thedesignshop.biz',
'remote_user' => 'thedesig',
);
Running drush @live status returns
PHP configuration :
Drush version : 5.1
Drush configuration :
Drush alias files : /Users/alex/Sites/thedesignshop/sites/all/drush/aliases.drushrc.phpI must be doing something wrong but I can't work out what!
Any help gratefully received!
Thanks
A
Comments
No one can help me with this
No one can help me with this then?!
It looks like you have some
It looks like you have some variable naming issues. Take a look at the example alias file packaged with drush. For example remote_host should be remote-host and likewise remote_user should be remote-user.
In D7 I believe uri should be the site URL as well and not just the name, so instead of 'thedesignshop.biz' try 'http://thedesignshop.biz'
DrupalVoodoo
The "_" "-" fixed the
The "_" "-" fixed the problem... Don't know how I missed that?!
Many thanks