Where Can the Random Password Created During the Initialization of the Data Directory Be Found; --random-passwords Option; .mysql_secret; mysqld --initialize

(Doc ID 1908407.1)

Last updated on MAY 18, 2017

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.


Learn where the password is stored when MySQL is installed with random passwords for the default accounts.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms