Connect to PlanetScale MySQL from Mac
Use branch credentials for your PlanetScale Vitess database to connect through TableAI’s MySQL driver.
Before you start
Section titled “Before you start”Have the target database and branch selected, with credentials for that branch. This guide covers PlanetScale’s MySQL-compatible Vitess databases.
Find your connection details
Section titled “Find your connection details”Get the host, port, database name, user name, and password from the branch’s connection information. PlanetScale calls these credentials a branch password; see its connection documentation.
Name each saved TableAI connection after its database and branch so you can identify the destination before editing.
Connect to PlanetScale MySQL from Mac
Section titled “Connect to PlanetScale MySQL from Mac”- Open a new connection and select Driver › MySQL.
- Enter a Name that includes the branch.
- Copy the supplied Host, Port, Database, and User into the form.
- Enter the branch password in Password.
- Select SSL Mode › Verify Full.
- Click Test, then Save & Connect after success.
TLS and network access
Section titled “TLS and network access”Use the supplied database hostname for certificate verification. Follow SSL/TLS settings if your organization’s connection instructions specify a Root CA file.
If your organization uses a private endpoint or restricted network access, obtain that route’s connection details from its administrator.
If it does not connect
Section titled “If it does not connect”Access denied for userConfirm that the branch password still exists and belongs to the intended branch. Compare all supplied fields, including the database name, before creating replacement credentials.
Use error 1045 for account checks, TLS certificate errors for verification failures, or connection troubleshooting when the endpoint does not answer.
Continue with edit data safely, or return to the MySQL overview.