0 votes
asked in Linux by (1.3k points)

how to reset?

1 Answer

0 votes
answered by

mysqld_safe --skip-grant-tables

mysql --user=root mysql

mysql-> update user set Password=PASSWORD('newpass') where user='root';

mysql-> flush privileges;

mysql-> exit;

Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.