Drush sql-sync Error: no database record could be found for target @demo.local

Drush sql-sync Error: no database record could be found for target @demo.local

2 posts / 0 new
Last post
lorcz@uwec.edu's picture
lorcz
Points: 2
Drush sql-sync Error: no database record could be found for target @demo.local

I'm following this blog from the Acquia site on how to setup sql-sync with my local dev to sync with the Acquia remote. However, whenever I do drush sql-sync @remote.prod @dev.local I get this error.

The external command could not be executed due to an application error.
Error: no database record could be found for target @dev.local

Location of my MySQL: /usr/local/mysql/mysql
Location of my PHP: /usr/local/bin/php

Any help or suggestion is much appreciated.

Status: 
Unresolved
natouriano's picture
firas.ntr
Points: 0

Did this work out with you?

Anyways, first of all you should check if your local site DB settings are already correct and that your local site is connected with the DB and working fine.