Home / Docs / MySQL Community 8.4 LTS (Hardened) / Troubleshooting
| Symptom | Check | Fix |
|---|---|---|
| Can't connect remotely | bind-address in /etc/my.cnf; security group | Both must be opened deliberately — see deploy step 2. |
| `sudo mysql` denied | ls /var/lib/mysql-firstboot.done | If missing, first boot hasn't finished: `journalctl -u mysql-firstboot`. |
| mysqld won't start after config edit | `journalctl -u mysqld -n 50` | Revert the edit; keys in /etc/my.cnf override my.cnf.d — check both. |
sudo mysql -e 'SELECT 1' (first boot completes when /var/lib/mysql-firstboot.done exists)