Yesterday Everything was working fine. Today when i start mysql its start giving me following error message
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) I don't know when and how it sets password.
Now i am trying to set password, but its not updating it.
I am using following steps to recover password.
- Stop Mysql Service
- Write this in cmd:
C:\Program Files\MySQL\MySQL Server 5.5>mysqld.exe --defaults-file="my.ini" --init-file="d:\mysql-init.txt" --console
It start showing me progress but stop responding after this message
160504 18:01:54 [Note] Server socket created on IP: '0.0.0.0'. 160504 18:01:54 [Note] Event Scheduler: Loaded 0 events 160504 18:01:54 [Note] mysqld.exe: ready for connections. Version: '5.5.38' socket: '' port: 3306 MySQL Community Server (GPL) I waited for more than 10 minutes but its not showing any progress after this..
Kindly guide me how to resolve this problem.
Thanks