Search This Blog

Showing posts with label restore. Show all posts
Showing posts with label restore. Show all posts

Monday, April 12, 2010

Importing Mysql Database using command Prompt

Importing Mysql Database using command Prompt

We can import Mysql database using command line

We can use the ’source’ command to import database

Syntax :

use database name

source .sql file name along path

Example
use my_data1

source c:\db\mydata.sql