DC Associates Group logoDC Associates Group

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

Install MySQL Community 8.4 LTS (Hardened)

Launch, connect, and validate — with the expected result after every step.

Prerequisites

AWS

  1. Subscribe and launch (4 vCPU+ recommended for production workloads; gp3 volume sized for your data).
    Expected result Instance 2/2 checks; `sudo mysql -e 'SELECT VERSION()'` returns 8.4.x.
  2. Remote access is OFF by default (3306 bound to 127.0.0.1). To enable: set bind-address in /etc/my.cnf to your VPC address, `systemctl restart mysqld`, create a non-root app user with a strong password, AND open 3306 in the security group to your app subnet only.
    Expected result App connects from inside the VPC; 3306 remains unreachable from the internet.

Validate

sudo mysql -e 'SELECT 1'  (first boot completes when /var/lib/mysql-firstboot.done exists)

First boot: A one-shot service (marker: /var/lib/mysql-firstboot.done) switches root to auth_socket and verifies the socket. Takes seconds; database is ready when the marker exists.

Secure it

Costs & quotas

Software is billed by the marketplace at the listed rate; infrastructure (VM, storage, egress) is billed by your cloud at its standard rates. The recommended size fits default service quotas in most accounts — if you scale out, review your cloud's quota console before launch.

Next: configuration · troubleshooting · security notes