Bug #92370 | mysqld --initialize fails because data directory has files in it | ||
---|---|---|---|
Submitted: | 11 Sep 2018 20:21 | Modified: | 12 Sep 2018 0:45 |
Reporter: | Tony Darnell | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 8.0.12 | OS: | MacOS (10.13.2) |
Assigned to: | CPU Architecture: | x86 (64-bit) |
[11 Sep 2018 20:21]
Tony Darnell
[11 Sep 2018 23:26]
MySQL Verification Team
Installer asking for root password so the data directory is created by installer during installing
Attachment: 01_creating_root_password.png (image/png, text), 450.47 KiB.
[11 Sep 2018 23:26]
MySQL Verification Team
End install Success
Attachment: 02_end_install.png (image/png, text), 878.41 KiB.
[11 Sep 2018 23:27]
MySQL Verification Team
Login after the install no need to use --initialize
Attachment: 03_login_to_the_server.png (image/png, text), 386.31 KiB.
[11 Sep 2018 23:31]
MySQL Verification Team
Thank you for the bug report. Install on MAC OSX using the DMG installer package creates during the installation the data directory, please see the picture attached when asking for root password. Then isn't necessary to perform the initialize command and the error is correct the data directory has files which are the data initial stuff.
[12 Sep 2018 0:45]
Tony Darnell
Thanks for the comments - I didn't realize the --initialize was unnecessary.