Jump to content

[Solved]Link to database cannot be established

Recommended Posts

Yesterday I have reset password for MYSql database on godaddy. Before reset of password very thing was working perfect now I get error message


Link to database cannot be established: SQLSTATE[28000] [1045] Access denied for user 'username'@'xxx.xx.xxx.xxx' (using password: YES)


with just black white page with above msg both for front and back office


How to solve this issue?

Edited by kartik_jh1 (see edit history)

Share this post

Link to post
Share on other sites

yea if you change database bassword you have to change it also in configuration file: config/settings.inc.php

you can find there credentials to database:

define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'database_name');
define('_DB_USER_', 'database_user');
define('_DB_PASSWD_', 'database_password');
define('_DB_PREFIX_', 'ps_');

all that you have to do is to use correct database_passwordvalue :) just paste there your password


best regards

Share this post

Link to post
Share on other sites

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More