Bug #78986 | "mysqld --help --verbose" creates a file in the data directory | ||
---|---|---|---|
Submitted: | 27 Oct 2015 20:29 | Modified: | 10 Nov 2015 16:59 |
Reporter: | Giuseppe Maxia (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S2 (Serious) |
Version: | 5.7.9 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[27 Oct 2015 20:29]
Giuseppe Maxia
[27 Oct 2015 21:12]
MySQL Verification Team
Thank you for the bug report. C:\dbs>dir 5.7\data Volume in drive C has no label. Volume Serial Number is 0C1C-80A8 Directory of C:\dbs\5.7\data 27/10/2015 19:09 <DIR> . 27/10/2015 19:09 <DIR> .. 27/10/2015 19:09 0 mysql-bin.index 1 File(s) 0 bytes 2 Dir(s) 412.903.100.416 bytes free
[28 Oct 2015 8:34]
Lars Tangvald
This is related to an earlier bug, where innodb initialization caused the same problem: http://bugs.mysql.com/bug.php?id=75995
[10 Nov 2015 16:59]
Paul DuBois
Noted in 5.7.10, 5.8.0 changelogs. If mysqld was started with the --help option, it created a binary log index file. If that file was located in the data directory and the command preceded data directory initialization, initialization then failed due to a nonempty data directory.