mysql proxysql docker compose
- download
$ cd /tmp
$ git clone https://github.com/breeze2/mysql-proxy-docker.git
$ cd mysql-proxy-docker
- run containers
$ docker-compose up -d
- set mysql replication
$ sh ./scripts/mysql_set_users_and_repls.sh
- login proxysql admin interface
$ mysql -u admin2 -padmin2 -h 127.0.0.1 -P60320
- login proxysql database interface
$ mysql -u pr_auser -ppr_apass -h 127.0.0.1 -P60330