Kanedevallier Posted November 15, 2021 Share Posted November 15, 2021 (edited) 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 ! Edited November 15, 2021 by Kanedevallier (see edit history) 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