Why PHPmyADMIN is not working in wamp?
HI, i have installed the latest version of WAMP, now when I click on phpmyadmin option from system tray wamp icon, so it does not open the phpmyadmin, but gives me an error which is following.
Welcome to phpMyAdmin
Error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Why i am having this?
the tutorial i am following he has same problem to occur but in that video there was a button for him which is not in mine, (he has old version of wamp).
Please guide me
Re: Why PHPmyADMIN is not working in wamp?
Quote:
Originally Posted by
ADQUSIT
HI, i have installed the latest version of WAMP, now when I click on phpmyadmin option from system tray wamp icon, so it does not open the phpmyadmin, but gives me an error which is following.
Welcome to phpMyAdmin
Error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Why i am having this?
the tutorial i am following he has same problem to occur but in that video there was a button for him which is not in mine, (he has old version of wamp).
Please guide me
Error itself is giving you the hint !
Have you changed the password of MySQL ? By default it would an empty password.
If you are running in Windows7, Vista, etc., have you tested that you are have given admin privileges.
:wave:
Re: Why PHPmyADMIN is not working in wamp?
Yes i do have previliges, I am working as administrator and i have changed the root password. But it does not ask for any password. So, for making it working, i uninstalled the WAMP and then reinstalled it but i didn't change the setting as you mentioned earlier (the config file settings) so its showing me phpmyadmin page now but php coding is not working. Please guide me.
Re: Why PHPmyADMIN is not working in wamp?
Try this:
Goto c:\wamp\apps\phpmyadmin3.3.9. Then edit the file named: config.inc.php
And in the following line, enter the password that you have setup previously:
Code:
$cfg['Servers'][$i]['password'] = '';
If your password is "123", then:
Code:
$cfg['Servers'][$i]['password'] = '123';
I hope it would work.
:wave:
Re: Why PHPmyADMIN is not working in wamp?
You know what akhil; in my office things are all working fine, i even did not change the code of configuration file and my coding is working and my phpadmin is also working perfectly. but at my home laptop, having windows vista, there its not working. i will apply these setting to my laptop.
Re: Why PHPmyADMIN is not working in wamp?
Oh, Akhil i did it but still have the same problem and same message.