Bug #84402 5.7 no longer prints "Normal shutdown" on non-windows platforms
Submitted: 4 Jan 2017 8:45 Modified: 4 Jan 2017 9:17
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Logging Severity:S3 (Non-critical)
Version:5.7.17 OS:Linux
Assigned to: CPU Architecture:Any

[4 Jan 2017 8:45] Shane Bester
Description:
Compare 5.6 and 5.7 outputs:

Version: '5.6.36'  socket: '/tmp/mysql.sock'  port: 3306  
2017-01-02 22:57:30 17027 [Note] /5.6/bin/mysqld: Normal shutdown
2017-01-02 22:57:30 17027 [Note] Giving 0 client threads a chance to die gracefully
2017-01-02 22:57:30 17027 [Note] Shutting down slave threads
2017-01-02 22:57:30 17027 [Note] Forcefully disconnecting 0 remaining clients
2017-01-02 22:57:30 17027 [Note] Binlog end
---------------

Version: '5.7.18'  socket: '/tmp/mysql.sock'  port: 3306  
2017-01-02T20:59:30.975643Z 0 [Note] Giving 0 client threads a chance to die gracefully
2017-01-02T20:59:30.975685Z 0 [Note] Shutting down slave threads
2017-01-02T20:59:30.975700Z 0 [Note] Forcefully disconnecting 0 remaining clients
2017-01-02T20:59:30.975867Z 0 [Note] Binlog end

How to repeat:
start 5.7 on linux.
shutdown 5.7 via mysqladmin shutdown or 'shutdown' sql.

Suggested fix:
Why is the 'Normal shutdown' missing on non-windows builds?
It is only displayed now on windows builds of 5.7.

Also, I want to know exactly who tried to, and how a server was shutdown (old request).
[4 Jan 2017 9:17] MySQL Verification Team
Hello Shane,

Thank you for the report and feedback!

Thanks,
Umesh