Bug #70075 mysql_secure_installation should provide parameters for scripting
Submitted: 18 Aug 2013 16:34 Modified: 9 Dec 2016 11:40
Reporter: Bjoern Boschman (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:5.6.13 OS:Any
Assigned to: CPU Architecture:Any

[18 Aug 2013 16:34] Bjoern Boschman
Description:
mysql_secure_installation is a nice tool but can only be used manually

It would be nice to have parameters like --remove-anonymous-user or similar

How to repeat:
run mysql_secure_installation

Suggested fix:
add parameters for packaging
[9 Dec 2016 11:40] Terje Røsten
Posted by developer:
 
Fixed by:

commit 2fb9344d2ab546402705e8d7203616d7487f5e35
Author: Vamsikrishna Bhagi <vamsikrishna.bhagi@oracle.com>
Date:   Tue Aug 13 21:47:28 2013 +0530

    WL#6441 Convert mysql_secure_installation script to C

which introduce the -D option:

  -D, --use-default   Execute with no user interactivity