Friday, February 6, 2015

How to import sql file into using shell in windows xampp ?






Method 1

Open shell from xampp control panel.






Type  
cd mysql/bin

Press enter & type
mysql -u root -p db_name

It will ask for password so type your password. if it is critical to type then please use copy paste tool.


Type  
source filepath/filename.sql


eg. source c:\db_filename.sql


Any query welcome!!

No comments:

Post a Comment