I forgot my root password in MySQL 5.1 on Windows 7 I uninstalled and deleted the MySQL directory in Program Files
Then I installed 5.5, but get error 1045, saying: Access denied for user: 'root@localhost'
I thought that uninstalling MySQL, and reinstalling would allow me to create a new root password, but apparently not. Please help!
Actually even after uninstalling the MySQL the data still remains in the directory which is not deleted by itself. So if you want to reinstall it from scratch then follow these simple steps:
Using Windows 7/8, here's what you need to do:
C:\Program Files\MySQL
C:\Program Files (x86)\MySQL
C:\ProgramData\MySQL
C:\Users\rdoverby\AppData\Roaming\MySQL
And then it will hopefully work fine!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With