Bug #27671 mysql_secure_installation with port and socket options
Submitted: 5 Apr 2007 18:17 Modified: 23 May 2007 14:46
Reporter: Matthew Lord
Status: Patch pending
Category:Client Severity:S4 (Feature request)
Version:all OS:Any
Assigned to: Daniel Fischer Target Version:
Tags: mysql_secure_installation
Triage: Triaged: D5 (Feature request)

[5 Apr 2007 18:17] Matthew Lord
Description:
mysql_secure_installation does not accept any options nor does it allow
for the specification of a config file.

How to repeat:
n/a

Suggested fix:
We could easily allow for a config file by changing line 18 to:
 config={$1}
[23 May 2007 14:46] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/27214

ChangeSet@1.2526, 2007-05-23 14:42:03+02:00, df@pippilotta.erinye.com +1 -0
  BUG#27671 mysql_secure_installation with port and socket options
[23 May 2007 14:48] Daniel Fischer
This is a feature request.

The above patch will accept a single argument, assuming it to be the path to a MySQL
client configuration file. This file will have to include what is normally written by the
script, i.e.

[mysql]
user=root
pass=my secure root password