You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
blt > local:sync:db:
'drush' cache was cleared. [success]
Do you really want to drop all tables in the database drupal? (y/n): y
You will destroy data in local.eejgeerling.com/drupal and replace with data from staging-9173.prod.hosting.acquia.com/eejgeerlingstg.
Do you really want to continue? (y/n): y
Starting to create database on Destination. [ok]
Creating database drupal. Any possible existing database will be dropped!
Do you really want to continue? (y/n): y
Starting to dump database on Source. [ok]
Database dump saved to [success]
/home/eejgeerling/drush-backups/eejgeerlingstg/20170402170654/eejgeerlingstg_20170402_170654.sql.gz
Starting to discover temporary files directory on Destination. [ok]
You will delete files in vagrant@local.eejgeerling.com:/tmp/eejgeerlingstg_20170402_170654.sql.gz and replace with data from eejgeerling.test@staging-9173.prod.hosting.acquia.com:/home/eejgeerling/drush-backups/eejgeerlingstg/20170402170654/eejgeerlingstg_20170402_170654.sql.gz
Do you really want to continue? (y/n): y
You will delete files in /tmp/drush_tmp_1491152816_58e12fb051381 and replace with data from eejgeerling.test@staging-9173.prod.hosting.acquia.com:/home/eejgeerling/drush-backups/eejgeerlingstg/20170402170654/eejgeerlingstg_20170402_170654.sql.gz
Do you really want to continue? (y/n): y
You will delete files in vagrant@local.eejgeerling.com:/tmp/eejgeerlingstg_20170402_170654.sql.gz and replace with data from /tmp/drush_tmp_1491152816_58e12fb051381/eejgeerlingstg_20170402_170654.sql.gz
Do you really want to continue? (y/n): y
Copying dump file from Source to Destination. [ok]
Starting to import dump file onto Destination database. [ok]
Starting to sanitize target database on Destination. [ok]
The following operations will be done on the target database:
* Reset passwords and email addresses in users_field_data table
* Truncate Drupal's sessions table
Do you really want to sanitize the current database? (y/n): y
'drush' cache was cleared. [success]
PDOException: SQLSTATE[HY000] [2002] Connection refused in [error]
/Users/jgeerling/Sites/acquia/eejgeerling/docroot/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php:142
Stack trace:
#0
/Users/jgeerling/Sites/acquia/eejgeerling/docroot/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php(142):
PDO->__construct('mysql:host=127....', 'drupal', 'drupal', Array)
#1 /Users/jgeerling/Sites/acquia/eejgeerling/docroot/core/lib/Drupal/Core/Database/Database.php(376):
Drupal\Core\Database\Driver\mysql\Connection::open(Array)
...
And I expected this to happen:
The database should be pulled down and the local:refresh should complete correctly.
Fix
It looks like the additional cache-rebuild in the local:sync:db target is not respecting the configured local drush alias.
PR incoming.
The text was updated successfully, but these errors were encountered:
My system information:
When I run this command:
I get the following output:
And I expected this to happen:
The database should be pulled down and the
local:refresh
should complete correctly.Fix
It looks like the additional
cache-rebuild
in thelocal:sync:db
target is not respecting the configured local drush alias.PR incoming.
The text was updated successfully, but these errors were encountered: