From 80807f228eb828879a9a3de8fc62f0fec7aaa78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 30 Aug 2016 23:52:52 +0000 Subject: [PATCH] Added examples in proxysql.cnf Commented examples related to: * scheduler * mysql_replication_hostgroups --- etc/proxysql.cnf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/etc/proxysql.cnf b/etc/proxysql.cnf index 3eb6e7029..1a8934186 100644 --- a/etc/proxysql.cnf +++ b/etc/proxysql.cnf @@ -116,6 +116,38 @@ mysql_query_rules: # } ) +scheduler= +( +# { +# id=1 +# active=0 +# interval_ms=10000 +# filename="/var/lib/proxysql/proxysql_galera_checker.sh" +# arg1="0" +# arg2="0" +# arg3="0" +# arg4="1" +# arg5="/var/lib/proxysql/proxysql_galera_checker.log" +# } +) + + +mysql_replication_hostgroups= +( +# { +# writer_hostgroup=30 +# reader_hostgroup=40 +# comment="test repl 1" +# }, +# { +# writer_hostgroup=50 +# reader_hostgroup=60 +# comment="test repl 2" +# } +) + + + # http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-File-Grammar #