-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find a matching SQL Class. Drush cannot find your database connection details. #700
Comments
Please post verbose output, and post the alias definition for @prod |
|
Can you please post the output of FYI, ordered-dump option is gone in Drush7, as is no-cache (there is never any caching). sql-sync is tolerant of unused options so you can remove them when you have time and stop using drush6. |
Thanks, I've removed no-cache. The remote drush is a bit older:
Btw. drush help sql-dump still is showing info about |
Fixed in da0ad8a |
Getting this error also. Found this thread and wondering what I'm doing wrong. Here's what I'm getting from Drush 8.0-Dev: dmacbp:~ Dan$ drush sql-sync @www.pmm @local.pmm -y |
I'm also seeing the error |
@jenlampton this starts in |
I got this error because I had a wrong site root path in my Drush alias definition. So be sure to double check that if you get this! |
I laboured over this error too; the root path seemed perfectly fine in the alias file - until I realized that my home directory was not the same as the one being used by sql-dump. I had to spell out ~/Sites/ from the root, as in /Users/[My_Username]/[Drupal_Installation]. I could finally get a read on the databases in drush @[sitename].local status and perform drush @[alias].remote @[sitename].local |
@eckersley thank you!!! Indeed it seems the home directory cannot be specified with the "~" prefix and instead must be specified as the full path, otherwise drush will frown upon the site alias. I too wasted so much time on this, and could have wasted even more time -- but thankfully I saw your comment 👍 |
I ran into this same problem after a drush rsync when I failed to notice my sites/default/settings.php was not copied |
The following command gives me the error:
drush version 7.0-dev which doesn't work.
drush status indicates that Drupal bootstrap is connected Successful.
Tested with drush 6.1.0 and it works fine.
The text was updated successfully, but these errors were encountered: