Bug #94880 | Incorrect and dangerous error message from MY-013236 | ||
---|---|---|---|
Submitted: | 3 Apr 2019 3:52 | Modified: | 21 May 2019 17:40 |
Reporter: | Martin Amps | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
Version: | 8.0.13, 8.0.15 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[3 Apr 2019 3:52]
Martin Amps
[3 Apr 2019 4:32]
Martin Amps
Upon a closer look this is clearly related to `--initialize` being passed, however this is called via the centos init scripts upon startup so I'd argue the messaging could still be improved from the MySQL side to mitigate anyone erroneously wiping out their datadir (example: https://fossies.org/linux/mysql/packaging/rpm-sles/mysql.init )
[3 Apr 2019 6:20]
MySQL Verification Team
Hello Martin, Thank you for the report and feedback. regards, Umesh
[21 May 2019 17:40]
Paul DuBois
Posted by developer: Fixed in 8.0.17. For failed data directory initialization, the server could produce a message indicating that the directory could be removed, even if the server itself did not create it. The message now indicates that only files in the directory created by the server can be removed.