I am connecting to two sites via SSH
I used Drush 4.4 export on a D6 site to export a node type.
I now want to import that onto a D7 site (running Commerce Kickstart2) which contains a newer version of Drush (if that matters) and I get the above error.
I have no alias or rc file on either the old or new site. However I haven't really needed them as all other commands seem to work. I run Status on the new site and it seems to work:
Drupal version : 7.28 Site URI : http://default Database driver : mysql Database username : test_commerc Database name : test_commerce Default theme : garland Administration theme : garland PHP configuration : /home/test_site/php.ini PHP OS : Linux Drush version : 6.0-dev Drush configuration : Drush alias files : Drupal root : /home/test_site1/public_html Site path : sites/default File directory path : sites/default/files
The errors are:
The drush command 'import' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions. [error] Drush was not able to start (bootstrap) the Drupal database. [error] Hint: This may occur when Drush is trying to: * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases` for details. * connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See http://drupal.org/node/1428638 for details.
I did run drush cache-clear drush.
I am using a jailshell but this doesn't make sense to me because I can use SQL-CLI for various queries.
What am I missing?