MySQL Forums
Forum List  »  General

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES))
Posted by: Adrian Worley
Date: May 30, 2025 08:45AM

I am working from a book, (Learning PHP, MySQL & JavaScript, 6th Edition, by Robin Nixon), and have started the MySQL section of the work.The first thing I need to do is change to C:/"Program Files/Ampps/mysql/bin", which I have done, and can see this from the C: prompt. It then says to enter mysql -u root -pmysql. This results in the message:

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

Simple question, what is wrong here?

Wave upon wave of demented avengers march cheerfully out of obscurity into the dream.

Options: ReplyQuote


Subject
Written By
Posted
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES))
May 30, 2025 08:45AM


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.