Resetting MySQL root password when current password is not known

前端 未结 6 1508
情歌与酒
情歌与酒 2020-12-01 10:58

I have inherited a server that has mysql installed on it. I don\'t have the mysql password for any user, not even root (although I have the linux root password). Plus, I a

6条回答
  •  不思量自难忘°
    2020-12-01 11:44

    try sudo dpkg-reconfigure mysql-server-5.5 and you will be asked for the new root password.

    Replace 5.5 with your current mysql-server version

提交回复
热议问题