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(48): ConfigurationManager::GetDatabaseConnection
#4 /www/procrearte.com/htdocs/userinterface/redpage.php(19): ServiceConsultorio::GetConsultorioById
#5 /www/procrearte.com/htdocs/p-red.php(4): RedPage->__construct

39#				}
40#				return $entities;
41#			}
42#	
43#			/**
44#			 * @return Consultorio
45#			 */
46#			public static function GetConsultorioById($id)
47#			{
48# $conn = ConfigurationManager::GetDatabaseConnection();
49# $stmt = $conn->Prepare('CALL ConsultorioGetByIdConsultorio(:IdConsultorio)'); 50# $stmt->Bind(':IdConsultorio', $id, DBConnection::Int); 51# 52# if ($row = $stmt->SelectRow()) 53# { 54# return self::RowToEntity($row); 55# } 56# 57# return null; 58# }