First open the cmd
Change the directory to mysql installed directory's bin. Mine is
D:/wamp/bin/mysql/mysql5.5.24/bin
D:/wamp/bin/mysql/mysql5.5.24/bin> mysql -u root -p
mysql> create database mydb;
mysql> use mydb;
mysql> source db_backup.sql;
For dump file
mysql> source db_backup.dump;
OR
First open the cmd
Change the directory to mysql installed directory's bin. Mine is
D:/wamp/bin/mysql/mysql5.5.24/bin
D:\wamp\bin\mysql\mysql5.5.24\bin>mysql -u root -p testing1 < D:\test2.sql
OR (For file type :File MySQL dump 10.13 Distrib 5.1.73, for redhat-linux-gnu (x86_64))
First open the cmd
Change the directory to mysql installed directory's bin. Mine is
D:/wamp/bin/mysql/mysql5.5.24/bin
D:\wamp\bin\mysql\mysql5.5.24\bin>mysql -u root testing1<test
Change the directory to mysql installed directory's bin. Mine is
D:/wamp/bin/mysql/mysql5.5.24/bin
D:/wamp/bin/mysql/mysql5.5.24/bin> mysql -u root -p
mysql> create database mydb;
mysql> use mydb;
mysql> source db_backup.sql;
For dump file
mysql> source db_backup.dump;
OR
First open the cmd
Change the directory to mysql installed directory's bin. Mine is
D:/wamp/bin/mysql/mysql5.5.24/bin
D:\wamp\bin\mysql\mysql5.5.24\bin>mysql -u root -p testing1 < D:\test2.sql
OR (For file type :File MySQL dump 10.13 Distrib 5.1.73, for redhat-linux-gnu (x86_64))
First open the cmd
Change the directory to mysql installed directory's bin. Mine is
D:/wamp/bin/mysql/mysql5.5.24/bin
D:\wamp\bin\mysql\mysql5.5.24\bin>mysql -u root testing1<test
No comments:
Post a Comment