p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: PHP and MySQL 24-Hour Trainer (http://p2p.wrox.com/book-php-mysql-24-hour-trainer-659/)
-   -   Problem with phpmyadmin mysql password (http://p2p.wrox.com/book-php-mysql-24-hour-trainer/86677-problem-phpmyadmin-mysql-password.html)

mitchlowther February 15th, 2012 07:58 AM

Problem with phpmyadmin mysql password
 
Hi - i've just started doing the tutorials in the book - however i'm having a problem getting xampp to work properly - it's all installed fine and was working perfectly until i created passwords in the phpmyadmin privileges section.
I changed the appropriate config.inc.php file but it doesn't connect - i get the following msg:

Error
MySQL said:

#1045 - Access denied for user 'mitchlowther'@'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.

no i notice it's trying to connect as mitchlowther @ localhost but should probably be 'root'@'localhost' - i have no idea how this works or the relationship between mysql, xampp and the phpmyadmin section?

how can i get it to work?

mitchlowther February 15th, 2012 05:57 PM

solution
 
I fixed it by uninstalling xampp and everything - then re installed and did the process over again - the difference is the i changed the password only for users with 'all privileges'. That was the fix.
works fine now.


All times are GMT -4. The time now is 09:35 AM.

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.