import mysql database console


Export / Import a MYSQL database from console.

To export
#Visplay the databases
mysql> show database;

# Export a particular database
mysql -u user -p database_name> file.sql

 

To import
#create the database
mysql> create database database_name;

 

#Preverse process to mysql
mysql -u root -p database_name < database_path.sql

Previous Installation of EC_driver_5890 Printer on WIN 10, unsigned drivers
Next How to create a Database from cPanel.

No Comment

Leave a reply

Your email address will not be published. Required fields are marked *