WAMP 2.0i server - mysql

i just installed the WAMP 2.0i server and it seems to be working.
but when i open PhpMyAdmin in the localhost the following error occurs...
"Error
MySQL said:
#1045 - Access denied for user 'root'#'localhost' (using password: YES)
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."
what should i do to fix this?

Your password for user root is not correct.This is what error says.
Check this article.

Related

mysqli::real_connect(): (HY000/1045): Access denied for user 'root'#'localhost' (using password: NO) error on Mac

This is the error message I got after I tried to make a password and username for localhost and root. Please help me. I am using Mac by the way.
MySQL said: Documentation
Cannot connect: invalid settings.
mysqli::real_connect(): (HY000/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.
go to xampp\mysql\bin\my.ini and open it. change the port to 3307
and go to xampp\phpMyAdmin\config.inc.php and check the name of the host
$cfg['Servers'][$i]['host'] = 'localhost:3307';
Adding to soufiane's answer above, there is actually 2 more places where you have to make the same change:
xampp window: config > Service and Port Settings > mysql > Change port to 3307
add $cfg['Servers'][$i]['port'] = 3307; to phpMyAdmin\config.inc.php
For a complete start to finish solution, refer to this answer on Quora by Owais R. Mir: https://www.quora.com/How-do-I-change-the-port-of-a-MySQL-server-in-XAMPP/answer/Owais-R-Mir
PS:
I used this solution to run mysql from xampp on port 3307 because I had installed mysql separately before and it was using port 3306. When ports are reset for xampp mysql you avoid issues with initializing and signing in to your local database via phpmyadmin.

Change password in root and error in accessing localhost/phpmyadmin

I tried to change password in my database but after i changed it right away, I got an error saying
mysqli_real_connect(): (HY000/1045): Access denied for user
'root'#'localhost' (using password: NO)
and
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.
How to fix this? Do i need to configure something about the connection and where can I fix it?
Do you able to connect mysql in command line.
#mysql -u root -p
then provide the password to access mysql command line.
if Yes, then please make sure that you given the correct information while installing the phpmyadmin.

MySQL Error: "Access Denied for user 'root'#'localhost' (using password: YES)" upon Windows 10 PC Restart

I installed MySQL 5.5 and provided a password for user 'root'. I can access it using MySQL Workbench. The OS that I am using is Windows 10 Home. Upon restart I am receiving an error:
Cannot Connect to Database Server
Your connection attempt failed for user 'root' from your host to server at localhost:3306:
Access defined for user 'root'#'localhost' (using password: YES)
and have some errors in my Web Applications such as Wordpress:
Error Establishing a Database Connection.
Is there a way to access the database and prevent this from happening again. Thank you in advance!

Fresh Wamp installation: unable to access phpmyadmin & mysql

I am using Windows 8.1, installed the 64-bit Wamp server and unable to access phpmyadmin and mysql. The first error message I got when browsing to phpmyadmin was
#1045 - Access denied for user 'root'#'localhost' (using password: NO)
then I changed my password in config.inc.php and received the following
#1045 - Access denied for user 'root'#'localhost' (using password: YES)
then I changed $cfg['Servers'][$i]['auth_type'] to http and that did not work either. I tried to access the mysql console, was asked for a password again and nothing happened. So why do they make it so hard? I remember I had no such issue with xampp.

Error in opening phpmyadmin

I am using Windows 7 and had just installed WAMP in it. Then when i tried to open it in my browser i get the following error please help me asap..
"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. "
did you ever use phpmyadmin or mysql console to setup password?
If yes, go to step 6 and follow on
If no, open the file config.inc.php in folder C:/wamp/apps/phpmyadmin2.10.1 and find this line:
$cfg['Servers'][$i]['password'] = 'TakeOutAnythingInThisSingleQuote'; // MySQL password (only needed
Do as advised, then save the file, shut down and exit wamp. After restart wamp, start all over to setup password