Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XAMPP Passwords headache

Status
Not open for further replies.

Domino2

Technical User
Jun 8, 2008
475
GB
I have installed XAMPP. I want to start using MySql and PhpMyAdmin, but I keep bouncing between two states.

#1045 - Access denied for user 'root'@'localhost' (using password: YES)

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

I have been into my php configuration file (config.inc) and have these lines.

/* Authentication type and info */

$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'mynewpassword';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = false;

I am sorry if I get shouted at for not putting this on the php forum, but I just want to get to MySql.

Can anyone please help me get out of this mess, thanks


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top