Search code examples
phpmyadminaccess-denied

phpmyadmin access denied #1045


I have just installed wamp server 2.2. When I installed it on my laptop 6 days ago it worked fine right away without any problems. I have decided to put it on my home desktop PC as well. However when I try to go on to my localhost/phpmyadmin I get:

Error

MySQL said: Documentation
1045 - Access denied for user 'root'@'localhost' (using password: NO)

I have not changed any passwords or anything. All I have done is installed the wamp server. I have goggled a lot and some suggested to change: $cfg['Servers'][$i]['AllowNoPassword'] = true; to $cfg['Servers'][$i]['AllowNoPassword'] = 'true'; (that the missing quotes were the problem). That didn't help. There is no password set up so I don't understand why it is not working.


Solution

  • cud you access mysql console without password? first try it from tray menu icon of wamp.

    MySQL >> MySQL console.