How do I show the binlog_format on a MySQL server? How do I show the binlog_format on a MySQL server?

And if I dont like it how do I set it to XX permanently?

Where XX is STATEMENT, ROW or MIXED.
To see the current binlog_format value:

mysql&gt; show variables like 'binlog_format';
+---------------+-----------+
| Variable_name | Value     |
+---------------+-----------+
| binlog_format | STATEMENT |
+---------------+-----------+
1 row in set (0.00 sec)


To change it:

mysql&gt; SET GLOBAL binlog_format = 'STATEMENT';
mysql&gt; SET GLOBAL binlog_format = 'ROW';
mysql&gt; SET GLOBAL binlog_format = 'MIXED';


Source: http://dev.mysql.com/doc/refman/5.1/en/binary-log-setting.html