mirror of https://github.com/sysown/proxysql
parent
c05059502d
commit
6a3d66d977
@ -0,0 +1,36 @@
|
||||
cluster_sync_interfaces=false
|
||||
|
||||
admin_variables=
|
||||
{
|
||||
admin_credentials="admin:admin;cluster1:secret1pass"
|
||||
mysql_ifaces="0.0.0.0:26001"
|
||||
cluster_username="cluster1"
|
||||
cluster_password="secret1pass"
|
||||
}
|
||||
|
||||
mysql_variables=
|
||||
{
|
||||
interfaces="0.0.0.0:36001"
|
||||
}
|
||||
|
||||
proxysql_servers =
|
||||
(
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26001
|
||||
weight=0
|
||||
comment="proxysql01"
|
||||
},
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26002
|
||||
weight=0
|
||||
comment="proxysql02"
|
||||
},
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26003
|
||||
weight=0
|
||||
comment="proxysql03"
|
||||
}
|
||||
)
|
||||
@ -0,0 +1,36 @@
|
||||
cluster_sync_interfaces=false
|
||||
|
||||
admin_variables=
|
||||
{
|
||||
admin_credentials="admin:admin;cluster1:secret1pass"
|
||||
mysql_ifaces="0.0.0.0:26002"
|
||||
cluster_username="cluster1"
|
||||
cluster_password="secret1pass"
|
||||
}
|
||||
|
||||
mysql_variables=
|
||||
{
|
||||
interfaces="0.0.0.0:36002"
|
||||
}
|
||||
|
||||
proxysql_servers =
|
||||
(
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26001
|
||||
weight=0
|
||||
comment="proxysql01"
|
||||
},
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26002
|
||||
weight=0
|
||||
comment="proxysql02"
|
||||
},
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26003
|
||||
weight=0
|
||||
comment="proxysql03"
|
||||
}
|
||||
)
|
||||
@ -0,0 +1,36 @@
|
||||
cluster_sync_interfaces=false
|
||||
|
||||
admin_variables=
|
||||
{
|
||||
admin_credentials="admin:admin;cluster1:secret1pass"
|
||||
mysql_ifaces="0.0.0.0:26003"
|
||||
cluster_username="cluster1"
|
||||
cluster_password="secret1pass"
|
||||
}
|
||||
|
||||
mysql_variables=
|
||||
{
|
||||
interfaces="0.0.0.0:36003"
|
||||
}
|
||||
|
||||
proxysql_servers =
|
||||
(
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26001
|
||||
weight=0
|
||||
comment="proxysql01"
|
||||
},
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26002
|
||||
weight=0
|
||||
comment="proxysql02"
|
||||
},
|
||||
{
|
||||
hostname="127.0.0.1"
|
||||
port=26003
|
||||
weight=0
|
||||
comment="proxysql03"
|
||||
}
|
||||
)
|
||||
@ -0,0 +1,4 @@
|
||||
#/bin/bash
|
||||
../../src/proxysql -M -D $PWD/node01 -c confs/proxysql01.cfg
|
||||
../../src/proxysql -M -D $PWD/node02 -c confs/proxysql02.cfg
|
||||
../../src/proxysql -M -D $PWD/node03 -c confs/proxysql03.cfg
|
||||
Loading…
Reference in new issue