Created
September 27, 2020 06:02
-
-
Save dsolsona/7c4b53514d8a722fbd8df4770562af5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
datadir="/var/lib/proxysql" | |
errorlog="/var/log/proxysql/proxysql.log" | |
admin_variables= | |
{ | |
admin_credentials="admin:admin;radmin:radmin" | |
mysql_ifaces="0.0.0.0:6032" | |
cluster_username="radmin" | |
cluster_password="radmin" | |
cluster_check_interval_ms=200 | |
cluster_check_status_frequency=100 | |
cluster_mysql_query_rules_save_to_disk=true | |
cluster_mysql_servers_save_to_disk=true | |
cluster_mysql_users_save_to_disk=true | |
cluster_proxysql_servers_save_to_disk=true | |
cluster_mysql_query_rules_diffs_before_sync=3 | |
cluster_mysql_servers_diffs_before_sync=3 | |
cluster_mysql_users_diffs_before_sync=3 | |
cluster_proxysql_servers_diffs_before_sync=3 | |
} | |
proxysql_servers = | |
( | |
{ hostname="proxysql-1", port=6032, comment="proxysql-1" }, | |
{ hostname="proxysql-2", port=6032, comment="proxysql-2" }, | |
{ hostname="proxysql-3", port=6032, comment="proxysql-3" } | |
) | |
mysql_variables= | |
{ | |
threads=2 | |
max_connections=2048 | |
default_query_delay=0 | |
default_query_timeout=36000000 | |
have_compress=true | |
poll_timeout=2000 | |
interfaces="0.0.0.0:6033" | |
default_schema="information_schema" | |
stacksize=1048576 | |
server_version="8.0.19" | |
connect_timeout_server=3000 | |
monitor_username="monitor" | |
monitor_password="monitor" | |
monitor_history=600000 | |
monitor_connect_interval=60000 | |
monitor_ping_interval=10000 | |
monitor_read_only_interval=1500 | |
monitor_read_only_timeout=500 | |
ping_interval_server_msec=120000 | |
ping_timeout_server=500 | |
commands_stats=true | |
sessions_sort=true | |
connect_retries_on_failure=10 | |
set_query_lock_on_hostgroup=false | |
query_digests_normalize_digest_text=true | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment