datadir="/tmp"

admin_variables =
{
	admin_credentials="admin2:admin2"
	mysql_ifaces="0.0.0.0:6032"
	refresh_interval=2000
	debug=true
}

mysql_variables =
{
	connect_timeout_server=5000
	connect_timeout_server_error="#2003:Can\'t connect to MySQL server (ProxySQL)"
	default_charset=30
	have_compress=false
	monitor_history=300000
	monitor_connect_interval=120000
	monitor_connect_timeout=200
	monitor_ping_interval=60000
	monitor_ping_timeout=150
	monitor_username="root"
	monitor_password="root"
	monitor_query_variables="SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES"
	monitor_query_status="SELECT * FROM INFORMATION_SCHEMA.GLOBAL_STATUS"
	monitor_query_interval=30000
	monitor_query_timeout=150
	monitor_timer_cached=false
	ping_interval_server=2000
	ping_timeout_server=150
	default_schema="test"
	poll_timeout=1000
	poll_timeout_on_failure=150
	server_capabilities=47627
	server_version="5.1.31"
	commands_stats=true
	servers_stats=false
	session_debug=false
	stacksize=2097152
	threads=2
}

mysql_users = 
(
	{
		username = "root"
		password = "root"
		default_hostgroup = 0
	},
	{
		username = "john"
		password = "doe"
		default_hostgroup = 1
	}
)

mysql_servers =
(
	{
		address = "127.0.0.1"
		port = 3306
		weight = 1
		hostgroup = 0
		max_connections = 5
	},
	{
		address = "127.0.0.1"
		port = 3307
		weight = 2
		hostgroup = 0
		max_connections = 1
	},
	{
		address = "127.0.0.1"
		port = 3308
		weight = 2
		hostgroup = 0
		max_connections = 10
	}
)