Mysql(Mariadb)开启二进制日志
Activating the Binary Log Contents Binary Log Format See Also To enable binary logging, start the server with the --log-bin[=name ] option. If you specify a filename with an extension (for example .log ), the extension will be silently ignored. If you don't provide a name (which can, optionally, include an absolute path), the default will be datadir/log-basename-bin , datadir/mysql-bin or datadir/mariadb-bin (the latter two if --log-basename is not specified, and dependent on server version). Datadir is determined by the value of the datadir system variable. We strongly recommend you use