Railway connection guide

Connect a Postgres or MySQL databased hosted on Railway

Ben McRedmond avatar
Written by Ben McRedmond
Updated over a week ago

Railway supports both Postgres and MySQL databases. The instructions are the same for both. To get started sign in to Railway and select the project that contains your database.

Finding connection details

  1. Select your database from the project home screen.

  2. Once viewing the database, click “Connect” in the tab bar.

  3. Click “Show” to the right of “Postgres Connection URL”.

  4. Within Equals click “Use connection string instead” and paste the connection string, with the password shown, from Railway.

  5. You should now be able to connect to your database from Equals.

Enabling access from our IP

Railway does not support limiting inbound connections by IP address and so no further action is required beyond the steps above.

Did this answer your question?