MySQL Forums
Forum List  »  PHP

Re: phpMyAdmin - #1045 - Access denied for user 'pmausr'@'localhost' (using password: YES).
Posted by: Ned Wilsher
Date: October 12, 2006 01:40AM

David

I am really grateful, though it still did not work. After much thought and hours of work (and a glass of wine or two to get the brain processes into gear) I still hadn't cracked it, so went to bed.

But heh presto it now seems to run (maybe closing the browser did it).

Instead of changing lines 72/73 I added the follwing lines to the config.ini.php file.

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'mypassword';

Do you know what these lines are for?

$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';

I did REM these out, and then added 'pmausr'@'localhost' IDENTIFIED BY 'pmapass' as a MySQL user, and then got it going using 'pmausr' although 'root' now also works OK, so I am not sure whether I kicked started something accidentally. The joys of programming eh.

Cheers.

Ned

Options: ReplyQuote


Subject
Written By
Posted
Re: phpMyAdmin - #1045 - Access denied for user 'pmausr'@'localhost' (using password: YES).
October 12, 2006 01:40AM
October 17, 2006 11:45PM
October 18, 2006 09:46AM
November 14, 2006 01:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.