Hello,
By default, the root account does not have a password. Assuming you did not set one manually, you did not set one via the XAMPP security page, something you or someone else did did not set one, you did not import old mysql primary databases (the MySQL database with users table), you did not change any settings, and Apache and MySQL are both running, you should be able to go to
http://localhost/phpmyadmin and be logged in as root automatically.
Alternatively you could use the command line mysql client.
You could try setting a password via the XAMPP Security Page (
http://localhost/security/index.php)
Another thing you could try is changing the phpMyAdmin auth type in /xampp/phpmyadmin/config.inc.php
from
- Code: Select all
$cfg['Servers'][$i]['auth_type'] = 'config';
to
- Code: Select all
$cfg['Servers'][$i]['auth_type'] = 'cookie';
If all else fails, you could try running /xampp/mysql/resetroot.bat to remove any root password (make sure MySQL is off when running this).
If that still does not work for you, you will need to provide more details as to what you changed from the default configuration.