i install xampp,but when i try to run it i got error said that like this :
Error
MySQL said: Documentation
1045 - Access denied for user 'root'@'localhost' (using password: NO)
Connection for controluser as defined in your configuration failed. 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.
i try search in internet for solution, but i still can't fix my problem. I already check whether i used password or not in config.inc.php file. but i do not have use any password. and when i try put password, i still can't solve this problem.
i hope anyone can help me. .thank you
reset your mysql password on xampp security page. restart your mysql service and then access the phpmyadmin page using your password. i tried it. this is working fine for me.
I'm using Linux Mint 18.2 of this writing. I had a similar issue; when trying to load myphpadmin, it said: "1045 - Access denied for user 'root'@'localhost' (using password: NO)"
I found the file in the
/opt/lampp/phpmyadmin directory
. I opened the config.inc.php file with my text editor and typed in the correct password. Saved it, and launched it successfully. Profit!I was having problems with modifying folders and files, I had to change permission to access all my files in /opt/lampp/ directory. I hope this helps someone in the future.
Step one: Go to... C:\xampp\phpMyAdmin
Step Two: Open the
config.inc.php
fileStep Three: Locate the following information and change the password.
I had this problem after changing the password for the root user in phpMyAdmin. I know nothing about programming but I solved it by doing the following:
Go to file
C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php
(I guess you would replace "wamp" with the name of your server if you're not using Wamp Server)Find the line
$cfg['Servers'][$i]['password']=''
and change this toTry opening phpMyAdmin again, and hopefully the message will now read "Access denied for user 'root'@'localhost' (using password: YES)
Now change the password in the above line to 'yourpassword' (whatever you had set it to before)
Hope this helps somebody.
Check your MySQL Port number 3306.
Is there any other MySQL Install in your system on same port ?
If any installation found the change the port number to any number between 3301-3309 (except 3306)
On OSX I had same difficult, but a figure out a solucition
open terminal
then put your root password and answer the questions