make mysql and mysqlbinlog configurable