import sql-based data into mysql database

Created by Tung NGUYEN on 2016-03-29 15:33:20
Last modified on 2016-03-29 16:33:21

We provide here two ways to import those data into the existing database.


Method 1: Logged mysql shell client in

Running the following command:

mysql>use model_repository_database;

mysql>source path/to/jummp_dump.sql;


Method 2: Not yet logged mysql shell client in

Running the following command unless you are not sure model repository database credential.

mysql -u database_username -p database_name < path/to/jummp_dump.sql
Link: http://stackoverflow.com/questions/17666249/how-to-import-an-sql-file-using-the-command-line-in-mysql

Category: Todos
Tags: 6

© 2013 - 2026. Tung NGUYEN. Using CI version: 3.0.2 | Page rendered in 0.0037 seconds.