Jump to content

Edit History

ZiBiahar

ZiBiahar

ISSUE SAME AS TITLE,

Im still keep getting ERROR 500:

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

122. public function connect() 123. { 124. try { 125. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 126. } catch (PDOException $e) { 127. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 128. } 129. 130. $this->link->exec('SET SESSION sql_mode = \'\''); 131. 132. return $this->link;

1. I delete the cache in var

2. I change mysql names in parametrs.php

3. I disabled SSL in mysql PS_SSL_ENABLED ans PS_SSL_EVERYWHERE

ZiBiahar

ZiBiahar

ISSUE SAME AS AT TOPIC,

Im still keep getting ERROR 500:

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

122. public function connect() 123. { 124. try { 125. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 126. } catch (PDOException $e) { 127. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 128. } 129. 130. $this->link->exec('SET SESSION sql_mode = \'\''); 131. 132. return $this->link;

1. I delete the cache in var

2. I change mysql names in parametrs.php

3. I disabled SSL in mysql PS_SSL_ENABLED ans PS_SSL_EVERYWHERE

ZiBiahar

ZiBiahar

ISSUE SAME AS AT TOPIC

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

122. public function connect() 123. { 124. try { 125. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 126. } catch (PDOException $e) { 127. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 128. } 129. 130. $this->link->exec('SET SESSION sql_mode = \'\''); 131. 132. return $this->link;

ZiBiahar

ZiBiahar

ISSUE SAME AS AT TOPIC

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

122. public function connect() 123. { 124. try { 125. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 126. } catch (PDOException $e) { 127. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 128. } 129. 130. $this->link->exec('SET SESSION sql_mode = \'\''); 131. 132. return $this->link;

×
×
  • Create New...