Arturo Posted March 31, 2018 Share Posted March 31, 2018 Hello; I need your help and support. I follow the instruction for install Prestashop 1.7.3 by XAMPP. and when I try to connect for the first time to admin, I had the next message. Can you help me to fix this issue? Tks a lot -------------------------------------------------------------------------------- Link to database cannot be established: SQLSTATE[HY000] [2002] No se puede establecer una conexi�n ya que el equipo de destino deneg� expresamente dicha conexi�n. at line 120 in file classes/db/DbPDO.php 115. public function connect() 116. { 117. try { 118. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 119. } catch (PDOException $e) { 120. throw new PrestaShopException('Link to database cannot be established: '.$e->getMessage()); 121. } 122. 123. $this->link->exec('SET SESSION sql_mode = \'\''); 124. 125. return $this->link; DbPDOCore->connect - [line 323 - classes/db/Db.php] DbCore->__construct - [line 234 - classes/db/Db.php] - [4 Arguments] DbCore::getInstance - [line 48 - config/alias.php] pSQL - [line 339 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 117 - config/config.inc.php] require - [line 27 - index.php] - [1 Arguments] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now