Connecting to a Database
Connect to Postgres, MySQL, and PlanetScale with Arctype.
Arctype makes it easy to connect to all of your Postgres, MySQL, and PlanetScale databases. Here's how:

Creating a Workspace

Start by creating a new workspace. A workspace is a defined space for a given project or similar files.

Choosing a Connection Type

Once you have created a workspace, you'll see a list of connection types. For now, we support MySQL and PostgreSQL, and PlanetScale
A workspace can have multiple connections.

Entering Database Credentials

For details on the inputs of each connection, see below. After entering Host, Username, Password, and Database Name, test your connection and save. Alternatively, you can paste a connection string (provided by Heroku, Railway, and others) into the "Connection URL" input. You're all done!

Connecting to PlanetScale

To add your PlanetScale database(s), you must first set up the PlanetScale CLI and run pscale auth login in your command line. Then, in Arctype, select the PlanetScale connection type and click 'Authenticate with PlanetScale CLI', select the desired organization and database and click 'Generate Service Token':

Database Credentials Cheat Sheet

MySQL

  • Name your connection is primarily for you to keep track of your connections. (optional)
  • Host is the hostname of your database server
  • Port is where it is hosted. The default is 3306
  • User is your username
  • Password is the password for your database
  • For Database, use the name of your database

PostgreSQL

  • Name your connection is primarily for you to keep track of your connections. (optional)
  • Host is the hostname of your database server
  • Port is where it is hosted. The default is 5432
  • User is your username
  • Password is the password for your database
  • For Database, use the name of your database
If you're using a localhost database, download our desktop app from arctype.com
Last modified 20d ago