How to recover MySQL database root password from Software Collections

Solution Verified - Updated -


  • We need to recover mysql root password and we are unable to find mysql_safe binary come with package rh-mysql57-mysql-server-5.7.24-1.el7.x86_64.
  • mysql_safe binary is not available


  • Red Hat Enterprise Linux 7
  • rh-mysql57-server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content