CertGrid CertGrid
Configuration·MySQL

MySQL Server Variables

Some variables change on a running server, some need a restart, and some cannot change at all. `SET GLOBAL` tells you which is which - and a restart shows what it did not save.

Configuration Guide 12 of 45 Intermediate

Written against the versions above. `innodb_buffer_pool_size` became dynamic in 5.7. On older servers it is one of the read-only settings, which is why so much older advice says a restart is required.

Every command on this page ran on db-a01.
Server NameIP AddressOSRolesCPURAMHDD
db-a01192.168.0.81Ubuntu 26.04 LTSPrimary / Source / Replica Set Member 12 Core4 GB50 GB

Before you start

  1. Change a value on the running server

  2. Change one that costs real work

  3. Try one that cannot change

  4. Restart, and watch the change vanish

Official sources