Username epiz_32209288) or Website URL
(please specify the website or account you are asking about)
Error Message
(please share the FULL error message you see)
Other Information
(other information and details relevant to your question)
(please specify the website or account you are asking about)
(please share the FULL error message you see)
(other information and details relevant to your question)
Please remember to fill out the topic template next time!
hello, good and followed the instructions that were recommended to me but it keeps throwing the same error.
DB Error!: SQLSTATE[HY000] [2002] No such file or directory
Please share your Database configuration file
<?php
session_start();
class Conectar {
protected $dbh;
protected function Conexion(){
try {
$conectar = $this->dbh = new PDO("mysql:local=sql303.epizy.com;dbname=epiz_32209288_mesadepartes","epiz_32209288","");
return $conectar;
} catch (Exception $e) {
print "¡Error BD!: " . $e->getMessage() . "<br/>";
die();
}
}
public function set_names(){
return $this->dbh->query("SET NAMES 'utf8'");
}
public function ruta(){
return "http://sql303.epizy.com:3306/mesa/";
}
}
?>
Replace this with "mysql:host
thank you very much I was able to enter now to work in the information base
“local” mean localhost. “host” means external db server. In a basic sense anyways.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.