Drush Commands – life saver of developers

  • Want to delete all tables from your drupal application database ?
 $ drush sql-drop
  • Import database in your application.
 $ drush sqlc < /path/of/file.sql

 

  • Save SQL dump to the directory above Drupal root.
$ drush sql:dump --result-file=/path/file.sql