MySQL access denied

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

MySQL access denied

Post by ljCharlie »

I have setup PHP 5, MySQL 5, MySQL Administrator 1, and phpMyAdmin on my IIS server. Anyway, when I access the phpMyAdmin folder on through the url, I got the following error:

Welcome to phpMyAdmin 2.6.4-pl3

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'true.mydomain.org' (using password: NO)
Your help is appreciated.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Have you edited phpMyAdmin's config file to include the login information you use for MySQL Administrator? Looks like you've currently got it setup up with 'root' as the username 'true.mydomain.org' as the host and no password.

Mac
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Never mind, I got this to work now.
Post Reply