Bug #72538 .mysql_secret file path should be configurable

Submitted: 5 May 2014 17:29 Modified: 5 May 2014 17:56
Reporter: Morgan Tocker Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:5.7+ OS:Any
Assigned to: CPU Architecture:Any

[5 May 2014 17:29] Morgan Tocker
Description:
Feature request via: http://datacharmer.blogspot.ca/2014/05/mysql-defaults-evolution.html

The randomly generated password feature (default in 5.7) writes a file called .mysql_secret in a user's $HOME directory.

While it is possible to --skip-random-passwords, it would be useful to be able to configure a path for this file to be written.  This would allow installation wrapper scripts (in this example mysql sandbox) to be able to make use of this functionality easier.

How to repeat:
http://datacharmer.blogspot.ca/2014/05/mysql-defaults-evolution.html

Suggested fix:
--random-passwords-file=N

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.047 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.