Connecting to PlanetScale
- Open the connections page in preferences, see managing connections for more information.
- Click the
Add new Connectionbutton at the top of the connections page.

- Select
MySQLfrom the list (PlanetScale uses the MySQL driver).
- Give a
Connection namefor your own internal reference. - For
Hostname, enter the hostname of your database server. - For
Port, use the default3306, or enter the port used by your server. - For
Database, enter the name of your database. - For
UsernameandPassword, enter the username and password from PlanetScale. These are optional. - Toggle connection type for direct or cloud.
- Share the connection with your team.
- Enable
SSL. PlanetScale requires SSL, but you can leave the certificates blank to use the default Debian OS certificate. - (Optional) Configure
SSHsettings. - Hit
Connectand you're all set!
Happy querying! 🍭
Updated about 1 month ago
