| Bug #89167 | Logging when initialising on an existing datadir could be improved. | ||
|---|---|---|---|
| Submitted: | 10 Jan 2018 7:37 | Modified: | 10 Jan 2018 19:18 |
| Reporter: | Simon Mudd (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | 5.7.19 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | 5.7.19, logging, mysqld initialialisation | ||
[10 Jan 2018 7:37]
Simon Mudd
[10 Jan 2018 8:43]
MySQL Verification Team
On current 5.7 I see this: E:\git\mysql-5.7\bld\sql\RelWithDebInfo>mysqld --initialize-insecure --console 2018-01-10T08:42:10.411425Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2018-01-10T08:42:10.588947Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting. 2018-01-10T08:42:10.591448Z 0 [ERROR] Aborting
[10 Jan 2018 19:18]
Simon Mudd
Hm. If that's the case that looks fine. I'm sure that the server concerned was not stopping as you show as that's the behaviour I would expect. I'm not sure it's still about to investigate further or provide more details. Given that I guess I'm happy with the behviouar so I 'll change back to closed. If I can reproduce this (maybe related to my config?) on a current version of 5.7 then I'll re-open this. Thanks for checking.
