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:
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
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.