ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away
After a bit of Googling, I found this post which essentially says that if you're in a production environment, which I was, you need to specify script/console production to avoid this error. In my case, with Site5, the MySQL server "goes away" after 15 seconds or less. If anyone has a more in-depth explanation of this issue, I'm all ears, but for those of you looking for a quick fix, this should be it.
No comments:
Post a Comment