Created
March 28, 2014 14:36
-
-
Save mlshvdv/9834335 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Firstly edit my.cnf: | |
# > nano my.cnf | |
# | |
# max_allowed_packet = 2600M | |
# net_buffer_length = 2600M | |
# Or by cmd: | |
# | |
# mysql> set global max_allowed_packet=1000000000; | |
# mysql> set global net_buffer_length=1000000; | |
# | |
# import file | |
mysql -u db_user -p db_name < mybackup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment