I want to import over 1GB size sql file to MySQL database in localhost WAMP/phpmyadmin. But phpmyadmin UI doesn\'t allow
sql
MySQL
WAMP/phpmyadmin
phpmyadmin
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.
Error 2006 MySQL server gone away.
Then try the command: mysql -u root -p database_name < file.sql
mysql -u root -p database_name < file.sql