I get a MySQL server has gone away error on a simple query.
mysql> select version(); ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1
A query such as select id from users limit 1; can also result in this error. Most search results are about inserts or imports so I'm not really sure what to do.