Bug #94628 mysqladmin fails to watch the pid-file if pid-file is not an absolute path
Submitted: 11 Mar 2019 20:31 Modified: 11 Mar 2019 21:43
Reporter: Iwo P Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.6.45, 5.7.25, 8.0.15 OS:Any
Assigned to: CPU Architecture:Any

[11 Mar 2019 20:31] Iwo P
Description:
When MySQL is started with --pid-file that is not an absolute path when MySQL is is shut down with
# mysqladmin shutdown
it will not wait for MySQL to shutdown, but will exit immediately.

 

How to repeat:
1) Start mysql with
[mysqld]
pid-file=relative.pid

2) mysqladmin shutdown
[11 Mar 2019 21:43] Terje Røsten
Hi!

This is duplicate of https://bugs.mysql.com/bug.php?id=91803
and will be fixed in next release of 5.6, 5.7 and 8.0.