There was an SQL error. It was: Lost connection to MySQL server at 'reading initial communication packet', system error: 111