Page 1 of 1

Fresh install, mysql broken

PostPosted: 25. October 2010 18:45
by jason_85
Hi everyone,

So I had just spent the whole day following "tutorials" on how to set up mysql/php/apache, and nothing worked so I decided to give this out-of-the-box xampp thing a try. It installed great on my windows 7 system, and I installed the apache and mysql services without receiving any errors. However, when I go to localhost/phpmyadmin I get the following error:

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

I couldn't find any solutions to this. Other than installing XAMPP I haven't changed any settings. Is there some installation step I'm missing??

Re: Fresh install, mysql broken

PostPosted: 29. October 2010 05:24
by gillwill
Sorry, have to ask this:

Do you by any chance already have another install of mysql and\or phpMyAdmin on your system that was already there before you installed xampp?

You can also look at the "config.inc.php" in the phpMyAdmin folder in xampp with a text editor and see what it indicates under

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

Does it indicate something different than this?