Accessing postgreSQL
johnlins
HOBBYOP

a year ago

It seems like I am able to use view and edit my database by only knowing this:
postgresql://postgres:4………….d@monorail.proxy.rlwy.net:4…….5/railway

I am trying to use pgAdmin locally but it doesn't let me connect, it says timeout.

I am also very confused why it isn't asking for a password, how is this working through Golang?? (I set this up a while ago)

(I don't know database stuff very well)

15 Replies

brody
EMPLOYEE

a year ago

a database url will contain the username and password, as youve hidden


brody
EMPLOYEE

a year ago

as for the timeout issue, make sure you are using the correct variables


johnlins
HOBBYOP

a year ago

Does it go under "hostname/address" btw?


johnlins
HOBBYOP

a year ago

1262534291607257300


brody
EMPLOYEE

a year ago

can you show me a screenshot of what pgadmin asks you for?


johnlins
HOBBYOP

a year ago

1262534407764447200


brody
EMPLOYEE

a year ago

please fill out those fields correctly


brody
EMPLOYEE

a year ago

they do not accept a url format


johnlins
HOBBYOP

a year ago

oh


johnlins
HOBBYOP

a year ago

which value is the passsword?


johnlins
HOBBYOP

a year ago

1262535219043369000


brody
EMPLOYEE

a year ago

the password would be the password you get from the variables tab


brody
EMPLOYEE

a year ago

your port is wrong, please use the correct credentials per the variables tab


johnlins
HOBBYOP

a year ago

Got it now, thanks!


brody
EMPLOYEE

a year ago

no prob


Loading...