Friday, November 14, 2014

MySQL import file from MySQL console

Here's the step:
Login to your MySQL database:
mysql -u root -p
Select the database name:
mysql>use db_name;
Import the database:
mysql>source /home/dump.sql;

No comments:

Post a Comment