Import Mysql Database In Linux/Windows command Line , Import Mysql Database In Putty command Line

Import Mysql Database In Linux command Line,
Import Mysql Database In Putty command Line:
$ zcat database.gz | mysql -u username -p database_name

In Windows :
Browse the path to bin.
C:\xampp\mysql\bin> mysql -u root -p new_db_name_in_local < db.sql

Note : Sql file db.sql should be placed in \mysql\bin directory



If You Think This Post has helped you buy us a Coffee :)

Make Donation

  • Other: $

Donate now