Connect to AWS RDS for MariaDB from Mac
Use your RDS instance’s DNS endpoint, database port, and database account to connect from TableAI.
Before you start
Section titled “Before you start”You need a route from your Mac to the instance and a database account with access to the database. For direct internet access, the instance must be publicly accessible and its security group must allow your client’s IP address. For a private instance, use your organization’s private network access, such as a VPN.
See AWS’s MariaDB connection guide for network requirements.
Find your connection details
Section titled “Find your connection details”Get the endpoint and port from the RDS instance details. Ask the database administrator for the database name and account credentials. Your AWS sign-in password is separate from the database password.
Download the applicable CA certificate from the RDS certificate guide. Use the DNS endpoint when verifying the server certificate.
Connect to AWS RDS for MariaDB
Section titled “Connect to AWS RDS for MariaDB”- Open a new connection using connection basics.
- Select MariaDB in Driver.
- Enter the endpoint in Host and the instance port in Port.
- Enter Database, User, and Password for your database account.
- Select Verify Full in SSL Mode.
- Select the RDS CA certificate in Root CA.
- Click Test.
- Click Save & Connect after the test succeeds.
SSL and SSH
Section titled “SSL and SSH”Verify Full checks the certificate chain and server hostname. See SSL/TLS for certificate controls. If your organization provides an SSH host with access to the instance, configure an SSH tunnel.
If it does not connect
Section titled “If it does not connect”Access denied for userConnection refused| Symptom | Check |
|---|---|
| Timeout | Endpoint, port, security group rules, and your VPN or other private network route |
| Connection refused | Instance availability and the configured database port |
| Access denied | Database user, password, and account access |
| Certificate error | RDS CA certificate and DNS endpoint |
Keep certificate verification enabled while correcting the endpoint or CA certificate. Use TLS certificate errors or connection failures for further checks. If you need administrator help, send the endpoint, port, user, exact error, and time; omit the password.