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

前端 未结 10 893
伪装坚强ぢ
伪装坚强ぢ 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 13:01

    I had the same problem. You have to write mysql -u root -p

    NOT mysql or mysql -u root -p root_password

提交回复
热议问题