jeudi 5 février 2015

How to track only DDL statements executed in MySQL


Can we track only executed DDL statements in MySQL but not DML statements. I dont want to use either binlog/general log to enable. I just wanted to track only DDL statements.


I had gone through the below link in MySQL Site. But in the site, it is not mentioned how to enable/disable this log.


http://ift.tt/1C35nAK


I added below line in my.cnf and restarted MySQL service. MySQL got restarted successfully, but I could not find any DDL log in the below path.


ddl-log=/var/log/ddl.log


Is this feature released or will it be released in future.





Aucun commentaire:

Enregistrer un commentaire