Very often during the development we need to import a large sql files into the database. Here’s how to do this in Windows environment
1. open commmand prompt
2. type: mysql –user=root
3. type: use databasename
4. type: \. importfilename.sql
NOTE: replace databasename and importfilename with real names!