Could not get update views: Lost connection to MySQL server during query