(Maciej Dobrzanski) Importing a text file containing a list of SQL commands into MySQL is a straightforward task. All you need to do is simply feed the file contents through pipe into MySQL command line client. For example: mysql app_production < dump.sql.
[membership level="0"]
[pmpro_button level="14" text="Read More - Register for Free Membership"][/membership]
[membership][standout-css3-button href="http://www.dbasquare.com/2013/04/17/diagnosing-problems-with-sql-imports/" opennewwindow=true]Read More[/standout-css3-button] (Community content)
[/membership]
