Page 1 of 1

Re-install of Xampp asks for password [Solved]

PostPosted: 05. June 2012 10:51
by Win7
Hi, I had a problem with Phpmyadmin not being able to access the database I created (username and password not recognised) and not letting me in to create another so I deleted the whole folder and re-installed. Am using Win7 and control panel v3.0.2. My config.inc.php is
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';

But it is still asking me for a username and password?

Any help would be much appreciated!

Re: Re-install of Xampp asks for password

PostPosted: 05. June 2012 12:29
by Win7
I found the Excruciatingly Correct Guide which said I should edit the resetroot.bat file, unfortunately when I clicked open it ran it instead, so I then checked if I could get back into MySQL with PhpmyAdmin and it worked! Then I checked the resetroot.bat file by dragging it into my text editor and it did not have a line that looks like mysql\bin\mysqld.exe anyway. It worked that's the main thing!

Re: Re-install of Xampp asks for password

PostPosted: 05. June 2012 14:26
by JonB
Good Job Win7!

I think that FAQ was written for an earlier version, and the reset_root.bat has since been fixed. So I guess I need to fix that too. :lol:

glad it worked
8)

Re: Re-install of Xampp asks for password [Solved]

PostPosted: 05. June 2012 17:21
by Win7
Yes it must be different to the one you worked with. I am so happy now, my PhpFox is up and running local and now I can play with it without destroying the installation on the web server!