Bug #46842 | mysql_secure_installation ignores --socket, etc. | ||
---|---|---|---|
Submitted: | 20 Aug 2009 19:51 | Modified: | 20 Jul 2010 10:02 |
Reporter: | Timothy Smith | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S2 (Serious) |
Version: | 4.1, 5.0, 5,1, next bzr | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[20 Aug 2009 19:51]
Timothy Smith
[20 Aug 2009 21:22]
Sveta Smirnova
Thank you for the report. Verified as described.
[14 Sep 2009 21:16]
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/83220 3124 Jim Winstead 2009-09-14 mysql_secure_installation did not read the global options file, which made it impossible to specify options such as a non-default socket location. (Bug #46842)
[19 May 2010 13:14]
Daniël van Eeden
This works for installations with the socket defined in a default config file location like /etc/my.cnf I'm using 1 server with 2 mysqld processes and 2 different my.cnf files and 2 socket files. mysql_secure_installation should not only read variables from the config files in the default locations but it should also be possible to specify a config file which should be used.
[12 Jan 2014 17:38]
Daniël van Eeden
This bug is fixed in MySQL 5.7.