Quick help with postgres pgadmin connection
Anonymous
PROOP

5 months ago

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

59 Replies

medim
MODERATOR

5 months ago

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


Anonymous
PROOP

5 months ago

Can you login to my account?


medim
MODERATOR

5 months ago

I cannot.


medim
MODERATOR

5 months ago

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


medim
MODERATOR

5 months ago

1415398001727242200


Anonymous
PROOP

5 months ago


Anonymous
PROOP

5 months ago


medim
MODERATOR

5 months ago

Use the DATABASE_URL in your case


Anonymous
PROOP

5 months ago

one sec


Anonymous
PROOP

5 months ago


medim
MODERATOR

5 months ago

Can you show me the URL?


medim
MODERATOR

5 months ago

Just the URL, remove the credentials


Anonymous
PROOP

5 months ago

postgres://railway:SSSSSSDSDSDSDSDSDSDSDSDSDSD@:/railway


medim
MODERATOR

5 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

5 months ago

hold on


Anonymous
PROOP

5 months ago

yes i can


Anonymous
PROOP

5 months ago


Anonymous
PROOP

5 months ago

what shall i enter?


medim
MODERATOR

5 months ago

5432


Anonymous
PROOP

5 months ago


medim
MODERATOR

5 months ago

Now deploy it


Anonymous
PROOP

5 months ago

how?


medim
MODERATOR

5 months ago

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

1415400967217877000


Anonymous
PROOP

5 months ago

ok deploying


Anonymous
PROOP

5 months ago

🙂


Anonymous
PROOP

5 months ago

done


Anonymous
PROOP

5 months ago

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


medim
MODERATOR

5 months ago

yes!


Anonymous
PROOP

5 months ago

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


medim
MODERATOR

5 months ago

put the XXXX in the Port field


Anonymous
PROOP

5 months ago

paswrod authentication failed


medim
MODERATOR

5 months ago

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


medim
MODERATOR

5 months ago

PGPASSWORD and PGUSER


Anonymous
PROOP

5 months ago

im in


Anonymous
PROOP

5 months ago

100% ok


Anonymous
PROOP

5 months ago

excellent job


Anonymous
PROOP

5 months ago

thx you so much!:)


Anonymous
PROOP

5 months ago

is it safe to keep this setting over long run?


Anonymous
PROOP

5 months ago

or shall I delete TCP?


medim
MODERATOR

5 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

5 months ago

or I recreate it again when needed:)


Anonymous
PROOP

5 months ago

thx bro


Anonymous
PROOP

5 months ago

excellent


medim
MODERATOR

5 months ago

That too 😆


Anonymous
PROOP

5 months ago

How can i check DB size


medim
MODERATOR

5 months ago

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


medim
MODERATOR

5 months ago

But I could be wrong


noahd
EMPLOYEE

5 months ago

You could also just look at this lol

1415413241336565800


noahd
EMPLOYEE

5 months ago

metrics tab on the DB's volume


medim
MODERATOR

5 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


noahd
EMPLOYEE

5 months ago

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


Anonymous
PROOP

5 months ago

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


noahd
EMPLOYEE

5 months ago

Still view data? Yes I believe so


Anonymous
PROOP

5 months ago

yes


Anonymous
PROOP

5 months ago

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


noahd
EMPLOYEE

5 months ago

Depends heavily on your internet speed 😁


Anonymous
PROOP

5 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


noahd
EMPLOYEE

5 months ago

The Railway pro plan provides scheduled backups!


Anonymous
PROOP

5 months ago

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


Loading...