Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Steps to connect to a postgres database on my other laptop
Post Flair (click to view more posts with a particular flair)
Post Body

Hi all,

So I've been learning Postgres through a few courses and am starting to think about how I'd apply it in the future for work. As practice, I'd like to learn how to "remote" (excuse my possible misuse of terminology) into a database.

I have one laptop (laptop A) that has postgres14 and PdAdmin4 with a database on it. If I want to connect to that same database and be able to write queries from my other laptop (laptop B), what are the steps I'd need to take?

My understanding is that I'd need to download PgAdmin on laptop B, create a new user and password for the database on laptop A, and then log in or connect using laptop B.

I'm a little fuzzy on the specifics with things like the server name, IP address, port etc and what I'd do to find the right information to connect successfully.

Any guidance is much appreciated!

Author
Account Strength
90%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,745
Link Karma
940
Comment Karma
805
Profile updated: 1 week ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago