Professional Documents
Culture Documents
How To Reset Root Password On XAMP Mysql
How To Reset Root Password On XAMP Mysql
How To Reset Root Password On XAMP Mysql
This should allow you to access MySQL if you don't know your password.
Stop and start MySQL from XAMPP to make this change take effect.
C:\xampp\mysql\bin\mysql.exe --user=root
You can scan through the rows to see what the root user's password is set to. There will
be a few root users listed, with different hosts.
Test it
Finally, test you can connect to the database using username root and password '' (blank) via one
of the following methods:
1. Attempting to access phpMyAdmin (http://localhost/phpmyadmin)
2. Run the debug route I provided from within one of your Laravel apps
The username is usually root and no password. If that doesn’t work you should look for
phpMyAdmin configuration file, usually at phpmyadmin/config.inc.php and look at the
authentication section.