docker run --name mariadb-server-new
-v /srv/docker/mariadb/data:/var/lib/mysql
-e MYSQL_ROOT_PASSWORD=my-secret-pw
-p 3306:3306
-d
--ulimit nofile=262144:262144 --ulimit nproc=1024:2048
mariadb/utf8
docker run --name mariadb-server-test
-e MYSQL_ROOT_PASSWORD=my-secret-pw
-p 13306:3306
-d mariadb-utf8
my-secret-pw
Refer
SHOW GLOBAL VARIABLES LIKE 'max_connections' ;
set global max_connections = 2048;
show full processlist;
show status like 'Threads%';