DatabaseException. Database connection failed: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 113
#0 /www/procrearte.com/fwk/database/mysqlconnection.php(25): DBConnection->Connect
#1 /www/procrearte.com/fwk/database/dbconnection.php(49): MySQLConnection->__construct
#2 /www/procrearte.com/fwk/configuration/configurationmanager.php(244): DBConnection::Factory
#3 /www/procrearte.com/htdocs/service/serviceconsultorio.php(91): ConfigurationManager::GetDatabaseConnection
#4 /www/procrearte.com/htdocs/userinterface/redpage.php(26): ServiceConsultorio::ListAll
#5 /www/procrearte.com/htdocs/p-red.php(4): RedPage->__construct

82#				$stmt->Bind(':IdMedico', $idmedico ? $idmedico : null, DBConnection::Int);
83#				$stmt->Bind(':IdProvincia', $idprovincia ? $idprovincia : null, DBConnection::Int);
84#				$stmt->Bind(':Domicilio', $domicilio ? $domicilio : null, DBConnection::String);
85#	
86#				return ArrayHelper::ArrayToObjectArray($stmt->SelectRowArray());
87#			}
88#	
89#			public static function ListAll()
90#			{
91# $conn = ConfigurationManager::GetDatabaseConnection();
92# 93# $stmt = $conn->Prepare('CALL ConsultorioListAll();'); 94# 95# if ($rows = $stmt->SelectRowArray()) 96# { 97# return self::RowsToEntityCollection($rows); 98# } 99# 100# return array(); 101# }