Import sql file using mysql CLI in ubuntu

Open terminal by pressing alt+ctrl T


  $ mysql -u root -p
  Enter password
  mysql>use [database-name]
  mysql>source [path to your .sql file]
  
-:Done:-

Comments

Popular posts from this blog

How to setup Drupal 8 Multisite on nginx webserver with different domain.

Install drush globally using composer on WSL

Drupal views create exposed filter programmatically