View Single Post
Old 31st August 2009, 05:41
atjensen11 atjensen11 is offline
Senior Member
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default Cannot login to phpmyadmin

I had followed the Perfect Server with ISPConfig3 tutorial for Debian Lenny.

Last week, I had an issue with phpmyadmin. Everytime I visited the site, there were strange characters in the username filed. Despite deleting them and typing in the correct credentials, the login always failed.

I double checked that I could login to MySQL on the command line with the same credentials and that worked.

In an attempt to fix the problem, I uninstalled and reinstalled phpmyadmin. It appears that I may have a different problem now. Whenever I browse to the phpmyadmin site, I get an error. The text above the area where the login credentials would appear says the following:

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.
In the box below this text, is another more specific error message. It reads:
MySQL said:  
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
Please note that I get these errors just by browsing to the phpmyadmin page. There are no fields presented to me as the user to even enter the user and/or password. It appears to me at least, that phpmyadmin is trying to automatically login to the site as the root user without a password, which obivously won't work.

Again, I can login to MySQL on the command line. Any suggestions?
Reply With Quote
Sponsored Links