To create bin-logs enable log-bin, set that to a directory (/var/lib/mysql) Restart mysql
To read them out: mysqlbinlog /var/lib/mysql/bin-log.000001 > /root/textform