Resetting MySQL root password when current password is not known

前端 未结 6 1514
情歌与酒
情歌与酒 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:17

    Two options:

    If you want to use --skip-grant-tables you may need to start mysqld directly as the options aren't necessarily passed along through the init script.

    Otherwise, try these instructions from the manual.

提交回复
热议问题