Closed hasdman closed 12 years ago
Hay un error al crear la conexión a mysql si no se utiliza un puerto estandar (3306). Linea 224 (zan\classes\db.php):
Actual: $this->Database = new PDO("mysql:host=". $this->db["dbHost"] .";dbname=". $this->db["dbName"], $this->db["dbUser"], $this->db["dbPwd"]);
Corrección: $this->Database = new PDO("mysql:host=". $this->db["dbHost"] .":".$this->db["dbPort"].";dbname=". $this->db["dbName"], $this->db["dbUser"], $this->db["dbPwd"]);
Saludos!
Solucionado.
Hay un error al crear la conexión a mysql si no se utiliza un puerto estandar (3306). Linea 224 (zan\classes\db.php):
Actual: $this->Database = new PDO("mysql:host=". $this->db["dbHost"] .";dbname=". $this->db["dbName"], $this->db["dbUser"], $this->db["dbPwd"]);
Corrección: $this->Database = new PDO("mysql:host=". $this->db["dbHost"] .":".$this->db["dbPort"].";dbname=". $this->db["dbName"], $this->db["dbUser"], $this->db["dbPwd"]);
Saludos!