mysql: Add options to enable binlog

Merged Thomas Schneider requested to merge th/mysql-binlog into master

Merge request reports