I installed WampServer 2 in my machine (Windows Visa OS) today. When I opened phpMyAdmin for the 1st time, it said root password is empty, so I set it. When I opened it next time, it's giving the following error.
"MySQL said: #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."
Where should I check the configuration? I would really appreciate any help in resolving this issue. Thank you!
just I had the same problem. It solved create a mysql database, then edit privileges add a password to user then edit config.inc.php, just put your password ['password'] = 'yourpassword'; then if you try to open phpMyAdmin probably it tells you there is a problem. Close the window continue with joomla installation that is my case, in the window that you are asked to introduce your host name, user name, and password. Introduce your password, the same. Finish the installation and after this you probably can access. Hope this solve your problem
i have create my files in htdocs in xampp i code in model file for access/or retrieve data from the database and i also code in controll file for controlls but when i run those file doesnt retrive data from the database i am getting this error "Access denied for user 'odbc'@'localhost' (using password: NO) " while my setting are username="root",password="yes"
can someone help me please!!!
i tried to read some solution but i dont know where to get this file connectivity.php?
if using only xampp, then you should get help from its forums; if using both xampp and wamp, you need to completely uninstall xampp and remove its registries for this wamp to work