Import large MySQL .sql file on Windows with Force

后端 未结 2 1703
野的像风
野的像风 2020-12-17 02:40

I would like to import a 350MB MySQL .sql file on a Windows 7 machine. I usually do this by using

mysql -uuser -p -e \"source c:/path/to/file.sql\" database         


        
2条回答
  •  心在旅途
    2020-12-17 03:27

    I'd suggest to also have a look at this SO answer, that takes advantage of source SQL command:

提交回复
热议问题