Running this command:
mysql -u root -p dev_db < dev.sql
Error:
ERROR 2006 (HY000) at line 454: MySQL server has gone away
I already added this line to /etc/my.cnf
(which most other answers on StackOverflow suggest):
max_allowed_packet=32M
wait_timeout = 600