When running sql-sync on an d6 installation brings the following stacktrace:

drush sql-sync -y @live @test
# ...
Do you really want to continue? (y/n): y
include_once(./includes/database/database.inc): failed to open stream: No such file or directory sql.drush.inc:657     [warning]
include_once(): Failed opening './includes/database/database.inc' for inclusion                                        [warning]
(include_path='.:/usr/share/php:/usr/share/pear') sql.drush.inc:657

IDrush expects a d7 (d6 has file "includes/database.php", d7 has "includes/database/database.inc") installation and fails.

Comments

Anonymous’s picture

It seems the error was introduced in rc4. Rolling back to tag "6.x-4.0-rc3" its working as expected.

greg.1.anderson’s picture

Status: Active » Closed (duplicate)

This sounds like a dup of #1004876: Can't use custom database driver, which was backed out today. Try again with HEAD and see if things work better for you. Re-open (or comment in other issue) if any problems persist.

Anonymous’s picture

I dont know if this is a duplicate, but it's working again with the new rc. :)