Quick help with postgres pgadmin connection
Anonymous
PROOP

6 months ago

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

59 Replies

6 months ago

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


Anonymous
PROOP

6 months ago

Can you login to my account?


6 months ago

I cannot.


6 months ago

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


6 months ago

1415398001727242200


Anonymous
PROOP

6 months ago


Anonymous
PROOP

6 months ago


6 months ago

Use the DATABASE_URL in your case


Anonymous
PROOP

6 months ago

one sec


Anonymous
PROOP

6 months ago


6 months ago

Can you show me the URL?


6 months ago

Just the URL, remove the credentials


Anonymous
PROOP

6 months ago

postgres://railway:SSSSSSDSDSDSDSDSDSDSDSDSDSD@:/railway


6 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

1415400127614685200


Anonymous
PROOP

6 months ago

hold on


Anonymous
PROOP

6 months ago

yes i can


Anonymous
PROOP

6 months ago


Anonymous
PROOP

6 months ago

what shall i enter?


6 months ago

5432


Anonymous
PROOP

6 months ago


6 months ago

Now deploy it


Anonymous
PROOP

6 months ago

how?


6 months ago

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

1415400967217877000


Anonymous
PROOP

6 months ago

ok deploying


Anonymous
PROOP

6 months ago

🙂


Anonymous
PROOP

6 months ago

done


Anonymous
PROOP

6 months ago

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


6 months ago

yes!


Anonymous
PROOP

6 months ago

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


6 months ago

put the XXXX in the Port field


Anonymous
PROOP

6 months ago

paswrod authentication failed


6 months ago

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


6 months ago

PGPASSWORD and PGUSER


Anonymous
PROOP

6 months ago

im in


Anonymous
PROOP

6 months ago

100% ok


Anonymous
PROOP

6 months ago

excellent job


Anonymous
PROOP

6 months ago

thx you so much!:)


Anonymous
PROOP

6 months ago

is it safe to keep this setting over long run?


Anonymous
PROOP

6 months ago

or shall I delete TCP?


6 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

6 months ago

or I recreate it again when needed:)


Anonymous
PROOP

6 months ago

thx bro


Anonymous
PROOP

6 months ago

excellent


6 months ago

That too 😆


Anonymous
PROOP

6 months ago

How can i check DB size


6 months ago

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


6 months ago

But I could be wrong


6 months ago

You could also just look at this lol

1415413241336565800


6 months ago

metrics tab on the DB's volume


6 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


6 months ago

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


Anonymous
PROOP

6 months ago

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


6 months ago

Still view data? Yes I believe so


Anonymous
PROOP

6 months ago

yes


Anonymous
PROOP

6 months ago

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


6 months ago

Depends heavily on your internet speed 😁


Anonymous
PROOP

6 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


6 months ago

The Railway pro plan provides scheduled backups!


Anonymous
PROOP

6 months ago

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


Loading...