N0L1m1t5 Posted August 7, 2011 Share Posted August 7, 2011 Im using a mac and whenever I go to phpmyadmin and try to change the password, there is a code that says (posted below) 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. If I uninstall and then install xampp, it works fine again until I try to add a password, because then the same problem occurs. Thanks Quote Link to comment Share on other sites More sharing options...
jcbones Posted August 7, 2011 Share Posted August 7, 2011 You will have to add your password into the phpmyadmin config file. It's windows location is "serverRootFolder/apps/phpmyadmin(versionNumber)/config.inc.php". Not sure if that helps with Mac. There is an array that holds all the data. Self explanatory. If you change it in the database via phpmyadmin, then you will still have to configure phpmyadmin to work with the new password. As it isn't the database, but rather a program that accesses the database. If you cannot access phpmyadmin, you can still use mysql via the console (mysql.exe). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.