1.Open Command Prompt get into the mysql folder, For Example

C:\> cd wamp\bin\mysql\mysql5.7.14\bin

2. Then use the following command to fire MySQL

C:\wamp\bin\mysql\mysql5.7.14\bin> mysql.exe -use databasename -u username -p

3. To make things easier, copy the SQL file into the same folder as mysql.exe, and then run this

mysql> source myfilename.sql;


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *