Sign inSign up

mysqlboy/docker-proxysql

By mysqlboy

•Updated over 9 years ago

High-performance MySQL proxy with a GPL license

Image
0

1.2K

mysqlboy/docker-proxysql repository overview

⁠Proxy SQL⁠

github repo for this image⁠

⁠Efficient MySQL workload management

ProxySQL helps you squeeze the last drop of performance out of your MySQL cluster, without controlling the applications that generate the queries.

⁠How to use this image
⁠Pull the Image
docker pull mysqlboy/docker-proxysql
⁠Start your container
docker run -d --name proxysql -p 6033:6033 -p 6032:6032 mysqlboy/proxysql
⁠Connect to ProxySQL administration interface
$ mysql -u admin -padmin -h 127.0.0.1 -P6032 --prompt='Admin> '
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.30 (ProxySQL Admin Module)

Copyright (c) 2009-2016 Percona LLC and/or its affiliates
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Admin> show databases;
+-----+---------+-------------------------------+
| seq | name    | file                          |
+-----+---------+-------------------------------+
| 0   | main    |                               |
| 2   | disk    | /var/lib/proxysql/proxysql.db |
| 3   | stats   |                               |
| 4   | monitor |                               |
+-----+---------+-------------------------------+
4 rows in set (0.00 sec)

Admin> exit

Tag summary

Content type

Image

Digest

Size

85.4 MB

Last updated

over 9 years ago

docker pull mysqlboy/docker-proxysql