How to Import 1GB .sql file to WAMP/phpmyadmin

前端 未结 13 1987
旧巷少年郎
旧巷少年郎 2020-12-04 09:46

I want to import over 1GB size sql file to MySQL database in localhost WAMP/phpmyadmin. But phpmyadmin UI doesn\'t allow

相关标签:
13条回答
  • 2020-12-04 10:42

    Before importing just make sure you have max_allowed_pack value set some thing large else you will get an error: Error 2006 MySQL server gone away.

    Then try the command: mysql -u root -p database_name < file.sql

    0 讨论(0)
提交回复
热议问题