Error to selecting $databaseName 2013Lost connection to MySQL server during query