added mysql binlog settings and added needed permissions