How to INSTALL PostgreSQL for learning and practicing SQL (works w/ any OS: Mac, Windows or Ubuntu)

  Рет қаралды 3,787

Data36 - Online Data Science Courses

Data36 - Online Data Science Courses

Күн бұрын

Пікірлер: 16
@srsr6099
@srsr6099 4 жыл бұрын
Awesome, much needed, much awaited. Thanks
@datatomi
@datatomi 4 жыл бұрын
Thanks!!
@pjr_racing
@pjr_racing 11 ай бұрын
Great video. Thank you for sharing
@datatomi
@datatomi 11 ай бұрын
Thank you! 🫡
@cyprian1234
@cyprian1234 3 жыл бұрын
I did everything what you did Tomi and when I try to connect to the server there comes an error "Connection to XXX.XX.XXX.XX:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections."
@datatomi
@datatomi 3 жыл бұрын
Hey, no worries! This is not an unprecedented issue! And there is a fix for it. This error means that you forgot to run on of these lines from the tutorial (or, you ran them but made a typo): - echo "listen_addresses = '*'" >> /etc/postgresql/*/main/postgresql.conf OR - echo 'host all all 0.0.0.0/0 md5' >> /etc/postgresql/*/main/pg_hba.conf FIX: STEP #1 Let's figure out what's wrong! First, go back to root user. Type this: sudo -i -u root And now type: history This prints all the commands you typed in so far as the root user… You'll see your command history. Again, you are looking for these two commands: echo "listen_addresses = '*'" >> /etc/postgresql/*/main/postgresql.conf AND/OR echo 'host all all 0.0.0.0/0 md5' >> /etc/postgresql/*/main/pg_hba.conf STEP #2 If either one is missing, just rerun it! If both are missing, rerun both! If you see them and you found that you made a typo in one (or both) of them, then... well, first of all, don't worry, this is one of the most typical mistakes; other participants made it too. Secondly, unfortunately, it's kind of difficult to fix it yourself (it's possible via editing the config files -- you can do that, I've just seen that beginners are not comfortable with that which is totally understandable), so you can really do one thing right now... It's something that students usually don't like -- regardless, I encourage you to go with this one because from a learning perspective that's the most useful for you. This is: destroy your current server and try to set up a new one from scratch. If you choose this option, put an extra emphasis on making sure that you avoid any typos and that you follow the tutorial very thoroughly. Remember, a single mistyped character can cause an issue. But if you type in everything accurately, the server will work. Cheers!
@cyprian1234
@cyprian1234 3 жыл бұрын
@@datatomi thank you very much! It works just fine now. 👌
@datatomi
@datatomi 3 жыл бұрын
@@cyprian1234 Awesome!
@leeonallen1940
@leeonallen1940 2 жыл бұрын
On SQL WORKBENCH my passwd does not work get error FATAL password authentication failed for user how do you reset passwd I only create one passwd same as Digital Ocean
@jameslarson8640
@jameslarson8640 Жыл бұрын
a year late but ran into the same issues realized my caps lock was on when I created the password originally. for anyone else following this I would check that
@mohammadmujtaba7491
@mohammadmujtaba7491 8 ай бұрын
It's charging 13.3 dollars for signup , isn't that free?
@denisvenancekatonkola3777
@denisvenancekatonkola3777 4 жыл бұрын
Nice tutorial Mr. Tomi but would you help me I want to know how to Reset Root Password(Superuser) of Postgres Advanced server 10 on CentOs? I forgot it but I was set it during the Installation process.
@datatomi
@datatomi 4 жыл бұрын
Thanks Dennice -- I'm happy to help with the setup, I show in this video -- but unfortunately I don't know too much about CentOs. ¯\_(ツ)_/¯ Should be pretty simple if you use DO, though. Bug again, I've never worked with that environement. Sorry... :-/
SQL TUTORIAL EP#1: BASICS (SELECT, WHERE, LIMIT, AND, OR) --- for beginners in data science
30:14
Data36 - Online Data Science Courses
Рет қаралды 6 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
PostgreSQL CRASH COURSE - Learn PostgreSQL in 2024
50:26
Troy Amelotte
Рет қаралды 253 М.
Set up a local PostgreSQL Database on macOS
4:27
Prisma
Рет қаралды 112 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 265 М.
PostgreSQL in 100 Seconds
2:37
Fireship
Рет қаралды 824 М.
How to Install PostgreSQL on Mac | Install PostgreSQL on macOS
9:00
ProgrammingKnowledge
Рет қаралды 81 М.
5 reasons why i'm using PostgreSQL instead of MongoDB
4:00
Christopher Lindblom
Рет қаралды 43 М.
Что такое операционная система и как она работает
2:01:08