MySQL Forums
Forum List  »  PHP

SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) Error
Posted by: Matthias Egger
Date: June 10, 2017 09:35AM

Hey guys,

I keep getting this error:

SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

And I don't know how to fix it.
I have installed MySQL, Apache2, PHP and phpMyAdmin. I do not get this error on website/phpmyadmin page, but when trying to enter my website/main .php page. The only thing I can think of is that my config.inc file differs from the ones I've seen in videos about fixing this problem. But I don't know why it is different?

Can anyone please help me with this?

Thanks in advance

Kind regards,

Matthias

Options: ReplyQuote


Subject
Written By
Posted
SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) Error
June 10, 2017 09:35AM
June 10, 2017 10:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.