Home / Docs / MySQL Community 8.4 LTS (Hardened) / Configuration
/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)
Not applicable to root (socket auth). For app users you create: ALTER USER ... IDENTIFIED BY with your own secret.
sudo mysql -e 'SELECT 1' (first boot completes when /var/lib/mysql-firstboot.done exists) — wire this into your cloud's monitoring agent or an external probe.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.
mysqldump --all-databases via `sudo mysql`, or stop mysqld and snapshot the volume. Restore: standard mysql import into a fresh instance.