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 | 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]
Shane Bester
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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.