|
Oi, oi, oi... I did not even know that this option exists! (Or I am getting old and forgot about it? It is there since 5.5!) Thank you very much for educating me! I was only looking for a specific binlog related variable in the help output.
The command:
cat full_dump.sql | mysql -u root --init-command='set session sql_log_bin=0; set global innodb_flush_log_at_trx_commit=0; set global super_read_only = off;'
did perfectly what I wanted. Verified with the General Query Log.
Can be closed. Sorry for bothering you.
|