Access denied for user 'root'@'localhost' (using password: Yes) after password reset LINUX

前端 未结 10 905
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 12:20

I have a MySQL installed on my linux server, I forgot it\'s password so I went and changed it using the methods I found on the web. What I did was as follows:



        
10条回答
  •  情歌与酒
    2020-12-08 12:49

    Actually I took a closer look at the user table in mysql database, turns out someone prior to me edited the ssl_type field for user root to SSL.

    I edited that field and restarted mysql and it worked like a charm.

    Thanks.

提交回复
热议问题