Accessing postgreSQL
It seems like I am able to use view and edit my database by only knowing this:
postgresql://postgres:[email protected]: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)
13 Replies
Project ID:
N/A
a database url will contain the username and password, as youve hidden
as for the timeout issue, make sure you are using the correct variables
Does it go under "hostname/address" btw?
can you show me a screenshot of what pgadmin asks you for?
Solution
please fill out those fields correctly
they do not accept a url format
oh
which value is the passsword?
the password would be the password you get from the variables tab
your port is wrong, please use the correct credentials per the variables tab
Got it now, thanks!
no prob