I’m encountering an issue while trying to log into MySQL:
C:Usersuser>mysql -u root -p
Enter password: ******
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I can assure you the password is correct, and I was able to log in successfully using the same method yesterday. I’ve already restarted the MySQL service and tried common solutions, but the issue persists.
This is my MySQL version:
C:Usersuser>mysql --version
mysql Ver 8.0.39 for Win64 on x86_64 (MySQL Community Server - GPL)
My computer is running on Windows.
Any help would be appreciated!
I hope to be able to log into MySQL successfully, and I want to solve this issue without having to reinstall MySQL.
4