2 years ago
currently im trying to connect my databse in local to railway… im watching youtube and there is "Connect" tab to connect and sync table from my postgre backup file, but when i create the postgre DB, there is no "Connect" tab, now how do i connect and use my postgres back up file into railway app? thanks in advance
2 Replies
2 years ago
if there is step to make it happen, it will help me so much
2 years ago
The YouTube video you watched is outdated - we've switched over to a new approach for databases.
You can grab your connection string from your Postgres service, under the "Variables" tab:
Use
DATABASE_URLfor public connections (likely what you want if you're connecting locally)Use
DATABASE_PRIVATE_URLfor private connections within your Railway project
We're working on making the flow better soon, which will include a clearer way to grab your connection string/credentials similar to the "Connect" tab you saw :-)