Monday, August 8, 2011

Import Large SQL file in Command Line for MySQL Database

Switching to Specific Database:

mysql> use database_name;


Example:

mysql> use gems;


Import Database:


mysql> source sql_filename.sql

Example:

mysql> source Mano_dump.sql

No comments:

Post a Comment

Followers