Repository navigation
v1.0.0
First release
Drush-style sql-sync for DDEV: sync a production MySQL database into a local DDEV project over SSH.
Features
- Drush-style invocation and aliases — alias YAML config in
.ddev/sql-sync/aliases.yml, never overwritten - Platform defaults from the project's DDEV type
- Dump via the app's own export (WP-CLI / Drush) or
mysqldump, with credentials resolved from the app config:.envwp-config.phpsettings.php
- Credentials are merged field-by-field with an optional explicit
database:block in the alias - Download over rsync
- Import via
ddev import-db - Sanitize on by default:
- Bundled SQL for Laravel and WordPress
drush sql-sanitizefor Drupal