scor / dgb

Drupal Git Backup (dgb) script for backing up Drupal sites with Git and Drush
46 stars 6 forks source link

Work around for changes to Drush 4 SQL API throwing mysqldump error #5

Closed rocketnova closed 13 years ago

rocketnova commented 13 years ago

Hey Scor,

Here's a (temporary?) work around for the mysqldump error. It turns out that Drush 4's sql.drush.inc automatically creates flags for all of the sql credentials, including '--database=DATABASE'. This last one is what is throwing the mysqldump error. I'm not sure what the write way to work this change into Drush 4 is, so I wrote a quick work around so that dgb will continue to work.

Cheers, Michelle

scor commented 13 years ago

fixed with https://github.com/scor/dgb/commit/5453f0d2e298730bfdb5430d51c4dbfb534bd27e

Thanks Michelle

rocketnova commented 13 years ago

Awesome. Thanks Scor!