Heroku Problem During Database Pull of Rails App: Mysql::Error MySQL server has gone away
Jun 9, 2012
This fixed an error I got when pulling a rails database from Heroku via taps:
command: heroku db:pull
error: MySQL server has gone away (Mysql::Error)
Fix: add the following to my.cnf file (location depends on OS):
[mysql]
max_allowed_packet=32M
[mysqld]
max_allowed_packet=32M
Link: Heroku Problem During Database Pull of Rails App: Mysql::Error MySQL server has gone away – Stack Overflow via stackoverflow.com