Question

Need help to solve Mysql Reset Password

Hi Friends,

I have installed MYSQL 5.7 centos 7

I have restore my old MYSQL.DB from version 5.5.46 to MYSQL 5.7 Now I am not able to login or even not able to reset password.

Getting Below error.

[root@database ~]# mysqld_safe --skip-grant-tables & [1] 18417 [root@database ~]# -bash: mysqld_safe: command not found

Please help to solve this error. Thanks Ranjeet Ranjan

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi,

The below documentation can guide you with resetting the MySQL root password :

https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password-on-ubuntu-20-04

Regards, Rajkishore

This comment has been deleted