Can not Access My Site, showing Access denied for Uer Using Password Yes

Permalink 1 user found helpful
I have attached screenshot. I can not access my site.
It is showing this :
An unexpected error occurred.
SQLSTATE[HY000] [1045] Access denied for user 'exrx'@'localhost' (using password: YES)


How can I solve this ?

srjahir32
View Replies: View Best Answer
surfsupjoe125 replied on at Permalink Best Answer Reply
surfsupjoe125
Hi there,

One thing I have done in the past is to get to your hosting server and using adminphp, look for your users table. See what users you have listed there and either delete or add there in your DB. It is a rather short work around that has worked well for me.

Cheers,
srjahir32 replied on at Permalink Reply
srjahir32
Thanks for the reply.
I solved it by changing database user and password.
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
​Awesome could you please mark my reply as helpful?

Cheers​


*Joe Notarianni*
Tel:(239) 434-7095
Cell:(239) 298-3984
jincmd replied on at Permalink Reply
jincmd
I am getting the following error when trying to reinstall c5 (latest stable version)
"
SQLSTATE[HY000] [1045] Access denied for user 'kosherit_produce'@'localhost' (using password: YES)
"

Let me know if you could help. thanks
jincmd replied on at Permalink Reply
jincmd
I am getting the following error when trying to reinstall c5 (latest stable version)
"
SQLSTATE[HY000] [1045] Access denied for user 'kosherit_produce'@'localhost' (using password: YES)
"

Let me know if you could help. thanks
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
Hi again,

You may be trying to reinstall and there is a populated database as well.
If you clean the database and try to reistall it usually remedies the
problem as well.

Cheers


*Joe Notarianni*
Tel:(239) 434-7095
Cell:(239) 298-3984
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
Cool, Yeah the error was DB related and wouldn't let you login. Glad to see you are ready to have the fun stuff now.

Cheers
surfsupjoe125 replied on at Permalink Reply
surfsupjoe125
Hi there,

One thing I have done in the past is to get to your hosting server and using adminphp, look for your users table. See what users you have listed there and either delete or add there in your DB. It is a rather short work around that has worked well for me.

Cheers,