Skip to content

Connect to AWS RDS for MySQL from Mac

Use the RDS instance’s DNS endpoint and database credentials to connect from TableAI.

Have an RDS for MySQL instance, a database account, and permission to reach its network. A private instance needs a private network route, such as a VPN or a reachable SSH host.

Copy the instance endpoint and port from its connection information in AWS. Obtain the database name and database credentials from your administrator.

For direct public access, the instance must be publicly accessible and its security group must allow your client IP on the database port. See AWS connection requirements.

  1. Open a new connection with Driver › MySQL.
  2. Set Host to the RDS endpoint and Port to the instance port.
  3. Enter Database, User, and Password for the database account.
  4. Select SSL Mode › Verify Full.
  5. Select the appropriate RDS CA bundle in Root CA.
  6. Click Test, then Save & Connect after success.

Keep the DNS endpoint in Host so it matches the certificate. Use the current CA bundle from AWS TLS documentation; SSL/TLS settings explains the file selectors.

For an SSH tunnel, the SSH server must reach the RDS endpoint. The database security group must permit that route.

Access denied for user
Secure connection required by server

For a timeout, check public accessibility, the security group source address, and your VPN or SSH route. A changed public IP can require an updated access rule.

Use error 1045 for account rejection, TLS certificate errors for certificate failures, or connection troubleshooting for reachability.

Continue with write and run SQL, or return to the MySQL overview.