DC Associates Group logoDC Associates Group

Home / Docs / MySQL Community 8.4 LTS (Hardened) / Configuration

Configure MySQL Community 8.4 LTS (Hardened)

Configuration files

/etc/my.cnf and /etc/my.cnf.d/zz-hardening.cnf (bind-address 127.0.0.1; mysqlx off/loopback — duplicated in both files deliberately)

Credential rotation

Not applicable to root (socket auth). For app users you create: ALTER USER ... IDENTIFIED BY with your own secret.

Monitoring & logging

Upgrades

Prefer replacing the instance with the newest image version (monthly + event-driven CVE rebuilds). In place: `sudo dnf update mysql-community-server` between refreshes. Major-version upgrades follow MySQL's documented path — take a backup first.

Backup & restore

mysqldump --all-databases via `sudo mysql`, or stop mysqld and snapshot the volume. Restore: standard mysql import into a fresh instance.