Click to See Complete Forum and Search --> : how do I log into phpMyAdmin after installation


sean paul
10-25-2003, 04:01 PM
I try to log into php myadmin by typing in the url to the files (i.e. http://mydomainname.com/phpMyAdmin

But I get the following error message#1045 - Access denied for user: 'root@localhost' (Using password: NO)

So why is my access denied? Do I need to configure something or do I need to contact my hosting service provider.

Thanks

LordShryku
10-25-2003, 04:55 PM
There'a config file you need to update first. Read the docs
http://www.phpmyadmin.net/documentation/

The_Walrus
10-25-2003, 04:56 PM
you have not edited the config.inc.php file, about half way down you have to include the username, server and password for your mysql:

$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['user'] = 'user'; // MySQL user
$cfg['Servers'][$i]['password'] = 'password'; // MySQL password (only needed

sean paul
10-25-2003, 05:53 PM
I had to put "user" for the user instead of "root"