Skip to content
Marie-Louise edited this page Nov 14, 2018 · 56 revisions

Everything Drupal!!

Vagrant

Twig

Importing or updating database

Request a copy of the database Once you receive it, save a copy for database locally in your drupal file system (local site folder).

  1. Go to vagrant terminal (virtual machine) using following command

    $ vagrant ssh

  2. Run following command to import database

    $ mysql -uroot -proot drupal < /drupal_file_system_path/your_database.sql

so in the case of 14th nov:

$ mysql -uroot -proot drupal < var/www/corporate/www/mariadb-init/corpdb081118.sql

Clone this wiki locally