Quick help with postgres pgadmin connection
Anonymous
PROOP

10 months ago

Hi i get connection timout and cannot connect from pgadmin to postgres

59 Replies

10 months ago

Hi! Make sure you're using the URL provided in the DATABASE_PUBLIC_URL environment variable, not the DATABASE_URL


Anonymous
PROOP

10 months ago

Can you login to my account?


10 months ago

I cannot.


10 months ago

Can you view the tables if you go to the 'Database' tab?


10 months ago

1415398001727242282


Anonymous
PROOP

10 months ago


Anonymous
PROOP

10 months ago


10 months ago

Use the DATABASE_URL in your case


Anonymous
PROOP

10 months ago

one sec


Anonymous
PROOP

10 months ago


10 months ago

Can you show me the URL?


10 months ago

Just the URL, remove the credentials


Anonymous
PROOP

10 months ago

postgres://railway:SSSSSSDSDSDSDSDSDSDSDSDSDSD@:/railway


10 months ago

The port is wrong, can you check if you can generate a TCP proxy in the Service settings? You likely don't have one

1415400127614685194


Anonymous
PROOP

10 months ago

hold on


Anonymous
PROOP

10 months ago

yes i can


Anonymous
PROOP

10 months ago


Anonymous
PROOP

10 months ago

what shall i enter?


10 months ago

5432


Anonymous
PROOP

10 months ago


10 months ago

Now deploy it


Anonymous
PROOP

10 months ago

how?


10 months ago

After you created the proxy, should be a floating popup asking you to deploy your changes

1415400967217877062


Anonymous
PROOP

10 months ago

ok deploying


Anonymous
PROOP

10 months ago

🙂


Anonymous
PROOP

10 months ago

done


Anonymous
PROOP

10 months ago

Connect to your service over TCP using a proxied domain and port - shall I use this new url?


10 months ago

yes!


Anonymous
PROOP

10 months ago

i got something like this: trolley.proxy.ererer.net:XXXX. do I copy the XXXX as well or without the XXXX


10 months ago

put the XXXX in the Port field


Anonymous
PROOP

10 months ago

paswrod authentication failed


10 months ago

check the rest of the credentials, you can find it in the service env vars


10 months ago

PGPASSWORD and PGUSER


Anonymous
PROOP

10 months ago

im in


Anonymous
PROOP

10 months ago

100% ok


Anonymous
PROOP

10 months ago

excellent job


Anonymous
PROOP

10 months ago

thx you so much!:)


Anonymous
PROOP

10 months ago

is it safe to keep this setting over long run?


Anonymous
PROOP

10 months ago

or shall I delete TCP?


10 months ago

For maximum security you can delete the TCP proxy, connect your services using only the private url and use a Tailscale proxy to connect to your DB without publicly exposing it


Anonymous
PROOP

10 months ago

or I recreate it again when needed:)


Anonymous
PROOP

10 months ago

thx bro


Anonymous
PROOP

10 months ago

excellent


10 months ago

That too 😆


Anonymous
PROOP

10 months ago

How can i check DB size


10 months ago

iirc there's a statistics tab in the PGAdmin client that shows the DB size in bytes


10 months ago

But I could be wrong


10 months ago

You could also just look at this lol

1415413241336565812


10 months ago

metrics tab on the DB's volume


10 months ago

Yeah but it isn't 100% correct since it is all of the current deployment vol usage and not specific to that DB


10 months ago

Yeah 100% not the "actual byte size" but a tiny quick "around how much"


Anonymous
PROOP

10 months ago

if I want to revert back to this older deployment can i still do it? https://share.zight.com/9ZupzdkL


10 months ago

Still view data? Yes I believe so


Anonymous
PROOP

10 months ago

yes


Anonymous
PROOP

10 months ago

Q: normally how to long does it take for a 5 GB databse to backup via pgadmin?


10 months ago

Depends heavily on your internet speed 😁


Anonymous
PROOP

10 months ago

Im on super fast internt and still getting stuck with this DB backup...so annyoing...would be super good to have somehow 1 click save or backup


10 months ago

The Railway pro plan provides scheduled backups!


Anonymous
PROOP

10 months ago

im on the pro plan - but how can i downlaod the backed up file to my local pc?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...