开发者

how to List all phpmyadmin user/pass for Linux

开发者 https://www.devze.com 2023-02-19 07:02 出处:网络
how to List all phpmy开发者_运维知识库admin user/pass for Linux as i forgot the DB password?Start mysql server without authentication

how to List all phpmy开发者_运维知识库admin user/pass for Linux as i forgot the DB password?


Start mysql server without authentication

mysqld_safe --skip-grant-tables

Login to mysql server

mysql --user=root mysql

reset the password of any user inclusing root

update user set Password=PASSWORD('new_password') where user='user_name';

Now start the server and use the new password.

0

精彩评论

暂无评论...
验证码 换一张
取 消