ssh - MySQL gone away error running mysql command large file -


i want load large .sql file (1.5gb) everytime stuck on 623.9 mb error: mysql server has gone away.

running following command: mysql -u {db-user-name} -p {db-name} < {db.file.sql path}

already changed my.cnf file following values, did not help:

wait_timeout = 3600 max_allowed_packet = 100m innodb_lock_wait_timeout = 2000 

what missing here?

refer link - mysql server has gone away when importing large sql file - various combinations have worked problem.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -