Restoring deleted 'root' user and password for MySQL

前端 未结 9 1988
独厮守ぢ
独厮守ぢ 2020-11-27 03:47

I accidentally deleted the root user on my local dev setup of MAMP/MySQL running on OS X. There are no other users created to get back into MySQL.

Thi

9条回答
  •  春和景丽
    2020-11-27 03:52

    Ok, stop running your MySQL, and open up the installation files it came with. There should be a bat file named resetroot.bat. Run it and your problem will be gone.

提交回复
热议问题