Try mysql -h localhost -u root -p
.
mysql acces denied to user in localhost
Question
I kind of locked myself out of mysql, don't know or remember how.
I have tried different things but no luck so far.
I have the root user who has all the privileges with the host localhost.
Like shown in the screenshot : http://imgur.com/x06GFwb
When trying to connect from the computer where mysql is installed I get the message
Access denied for user root@localhost
Like shown in the screenshot : http://imgur.com/XqZreWn
100% sure I have the right password, so It's not a password issue.
- MySQL version 5.1
- Windows Server 2008 R2
Any help on what could be the issue??
Thanks!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow