Thread Starter
belljj
(@belljj)
Ok, further research shows that a mySQL db password can not be viewed – only changed. I’m going to assume the password is correct in wp-config.php and that there is another problem as to why I am receiving the “Error establishing a database connection” message.
Moderator
t-p
(@t-p)
– “Error establishing a database connection” means that there is a problem with the connection to your database
– a problem with the credentials stored in the wp-config.php file not matching what mysql expects.
– Try reviewing the following codex for some guidance: http://codex.ww.wp.xz.cn/Common_WordPress_Errors#Error_Establishing_Database_Connection
Thread Starter
belljj
(@belljj)
Hi t-p, thanks for the reply. I have however checked this again. What I don’t truly understand is that if it is an automatic installation – what exactly should should need to be adjusted.
I understand it is a problem with the connection to the database/credentials stored in the wp-config.php file – however the help file says “check this, this and this”. It doesn’t actually say compare the <xyz> in the wp-config.php with the <xyz> in the mysql. As far as I can read, the 2 match.
DB-Name = belljj64_wp2 (in both places) – check
DB_USER – belljj64_wp2 – is this the same as a user record in the wp_user table?
DB_PASSWORD – Password can’t be checked – you can’t read a DB password, it can only be changed.
Database Server user is ‘cpses_bedPeG3EFD@localhost’ – however this is not DB_USER (is it?)
‘DB_HOST’ currently set to ‘localhost’ but in phpMyAdmin it is shown as ‘localhost:3306’ – is this considered to be the same?
Do I change these?
‘AUTH_KEY’
‘SECURE_AUTH_KEY’
‘LOGGED_IN_KEY’
‘NONCE_KEY’
‘AUTH_SALT’
‘SECURE_AUTH_SALT’
‘LOGGED_IN_SALT’
‘NONCE_SALT’
Sorry, I’m just not finding the help files to be detailed enough to satisfy my queries…
J