Last active
July 16, 2024 20:04
-
-
Save vladdancer/5d43b8b03466cc7b2f25a3de9143e3b1 to your computer and use it in GitHub Desktop.
Import/export drupal db dump #drush #drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# intstall database | |
# drush si --db-url=mysql://root:pass@localhost:port/dbname | |
drush si --db-url=mysql://drupal:drupal@mariadb/drupal | |
# export db | |
drush sql-dump > db.sql | |
# import db | |
drush sql-cli < db.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment