Can't connect to mysql: MySQL server has gone away