Bug #90012 restart command failures not recorded in error log

Submitted: 12 Mar 2018 8:23 Modified: 10 Apr 2018 17:57
Reporter: Ramana Yeruva Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: DDL Severity:S3 (Non-critical)
Version:8.0.5 OS:Any
Assigned to: CPU Architecture:Any

[12 Mar 2018 8:23] Ramana Yeruva
Description:
wl#9809 has support of restarting server which is started by mysqld_safe,systemd scripts. It is not possible to realize from the error log, if for some reason, restart is failing. no message in server error log, but only "Received RESTART from user root.  Restarting mysqld" shown. no conclusion on whether is failed or not

How to repeat:
start server with tar.gz package on linux, execute restart command in client with user having appropriate privileges

mysql> restart;
ERROR 3707 (HY000): Restart server failed (mysqld is not managed by supervisor process).

server error:
[System] [MY-011086] [Server] Received RESTART from user root.  Restarting mysqld (Version: 8.0.5-commercial).
-->it is unclear, whether restart is failed or not
[10 Apr 2018 17:57] Paul DuBois
Posted by developer:
 
Fixed in 8.0.12.

Failures of server restarts initiated by systemd or mysqld_safe were
not written to the error log.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 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.