Skip to content

drush sql-sync: “The external command could not be executed due to an application error.” #3293

@0711master

Description

@0711master

When I execute drush sql-sync to get a database from the server to local, I get the following error after login with ssh:

The external command could not be executed due to an application error.

Here is the debug after the ssh login:

Backend invoke: php
C:/Users/x/drupal-root/vendor/drush/drush/drush.php --backend=2 --verbose --debug --uri=localhost --root=/C/Users/x/drupal-root/web sql-conf --all 2>&1
php C:/Users/x/drupa-root/vendor/drush/drush/drush.php --backend=2 --verbose --debug --uri=localhost --root=/C/Users/x/drupal-root/web sql-conf --all 2>&1
The external command could not be executed due to an application error.
Error: no database record could be found for target @Local
Returned from hook drush_sqlsync_sql_sync_validate
Command dispatch complete

Does anyone have an idea? I'm at my wits' end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions