Track MySQL Procedure Changes in MySQL We want to keep track of changes being done to MySQL procedures only, actually recently our procedures seem to have overwritten to some previous versions and we were unable to track it that who did this. We were able to track thread-id from mysqlbinlog but were not able to determine whose userid was using that thread-id.   Is there any way by which we can do following

• Track user-id from mysqlbinlog thread-id
•   Keep track of every create procedure/drop procedure 

We are using MySQL 5.7.20 community edition on windows 10 &amp; CentOS7 and we are using row level bin-logging 

Any help is greatly appreciated.
You can use an audit plugin, such as MariaDB's audit plugin which also works for MySQL, see:
https://www.percona.com/blog/2016/02/15/mysql-mariadb-with-mariadb-auditing-plugin/

For MariaDB's plugin, you can configure it to log DCL queries only, which should cover CREATE/DROP PROCEDURE.