Jump to content

Edit History

Kanedevallier

Kanedevallier

Hello everyone, today I wanted to connect via winsc, i didn't change or edit any files. But after i closed session,  after refreshing the page the error appeared , i will put debug log below. 

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'server883303'@'10.199.210.73' (using password: YES)
at line 136 in file classes/db/DbPDO.php

131. public function connect() 132. { 133. try { 134. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 135. } catch (PDOException $e) { 136. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 137. } 138. 139. $this->link->exec('SET SESSION sql_mode = \'\''); 140. 141. return $this->link;

I will be grateful for any help.

Error fixed, changed password in parameters.php file . Subject can be closed. Thank you ! 

 

Kanedevallier

Kanedevallier

Hello everyone, today I wanted to connect via winsc, i didn't change or edit any files. But after i closed session,  after refreshing the page the error appeared , i will put debug log below. 

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'server883303'@'10.199.210.73' (using password: YES)
at line 136 in file classes/db/DbPDO.php

131. public function connect() 132. { 133. try { 134. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 135. } catch (PDOException $e) { 136. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 137. } 138. 139. $this->link->exec('SET SESSION sql_mode = \'\''); 140. 141. return $this->link;

I will be grateful for any help. 

 

×
×
  • Create New...