How to update large .sql files in MySQL on Windows 7

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!

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">