To see the current values used by a running server ...
SHOW VARIABLES;Â Â
You can modify it further like any query:
SHOW VARIABLES LIKE '%pool%';
Or query the information schema with something like...
SELECT @@variable_name
or...
SELECT variable_name,
       variable_valueÂ
  FROM performance_schema.global_variables
 WHERE variable_name LIKE '%pool%';
To see the values that a server uses based on its compiled-in defaults and any option files that it reads...
mysqld --verbose --help
To see the values that a server uses based on only its compiled-in defaults, ignoring any option files...
mysqld --no-defaults --verbose --help
SET GLOBAL parameter=value;
To make the change permanent you should also update /etc/my.cnf
[mysqld]
user = mysql
default-storage-engine = InnoDB
datadir = /var/lib/mysql
socket = /var/lib/mysql/mysql.sock
pid-file = /var/run/mysqld/mysqld.pid
log-error = /var/log/mysqld.log
open-files-limit = 10000
binlog-format = ROW
binlog_expire_logs_seconds = 2592000
log-bin = /var/lib/mysql/log
log-replica-updates = ON
sync-binlog = 1
max_binlog_size = 100M
server-id = 0
innodb-buffer-pool-size = 5G
innodb-buffer-pool-instances = 8
innodb-flush-method = O_DIRECT
innodb-file-per-table = 1
innodb-checksum-algorithm = crc32
innodb-flush-log-at-trx-commit = 1
innodb-log-file-size = 1024M
slow-query-log-file = /var/log/mysq-slow.log
ssl-ca = CA.cer
ssl-cert = cert.pem
ssl-key = key.pem
tls-version = TLSv1.2
secure-log-path = /var/log