Resetting MySQL Root Password with XAMPP on Localhost

后端 未结 15 1560
北荒
北荒 2020-11-30 21:11

So for the past hour I\'ve been trying to figure out how to reset my \'root\' password for MySQL as I cannot log into PHPMyAdmin. I\'ve tried changing the password in the co

15条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 21:43

    You can configure it with the "XAMPP Shell" (command prompt). Open the shell and execute this command:

    mysqladmin.exe -u root password secret

提交回复
热议问题