My Oracle Support Banner

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 AUGUST 19, 2021

Applies to:

MySQL Server - Version 5.6 to 5.7 [Release 5.6 to 5.7]
Information in this document applies to any platform.

Goal

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

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
 MySQL 5.6
 MySQL 5.7
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.