docker-compose volumes config
volumes:
- /var/data/test-mysql:/var/lib/mysql
- /var/data/test-mysql-conf/mysql.cnf:/etc/mysql/conf.d/mysql.cnf:ro
SHOW VARIABLES LIKE 'max_connections%';
SHOW STATUS WHERE variable_name = 'Max_used_connections';