How to install PostgreSQL on Mac OS | Install and Uninstall PostgreSQL Database

  Рет қаралды 125,446

techTFQ

techTFQ

3 жыл бұрын

This video is about how to install PostgreSQL database, doing the initial setup of the PostgreSQL
and then also explains how to uninstall PostgreSQL database on macOS Big Sur.
This video also covers how to install pgAdmin and how to uninstall pgAdmin from macOS Big Sur.
In this video, I cover PostgreSQL installation using the Interactive installer by EDB and also by Postgres.app
Also cover the uninstallation of PostgreSQL database using both the Interactive installer by EDB and also by Postgres.app
We go step by step from scratch to complete installation, setup and uninstallation of PostgreSQL.
We also create a sample database and table using pgAdmin and then insert data to this table in pgAdmin.
We look at the error's caused in Postgres 13.1 version when trying to install through the Interactive installer by EDB method.
This video covers the following:
1) Install PostgreSQL using the Interactive installer by EDB method.
2) Setup pgAdmin which is installed as part of the EDB installer.
3) Create sample database and table to test pgAdmin.
4) Uninstall PostgreSQL using the uninstaller package provided by the EDB installer.
5) Install PostgreSQL using Postgres.app method.
6) Initialise database and setup command line path for PostgreSQL database.
7) Install pgAdmin.
8) Uninstall PostgreSQL database using uninstallation steps provided by Postgres.app
Mentioned below are the links mentioned in video:
PostgreSQL:
www.postgresql.org/
pgAdmin:
www.pgadmin.org/
Learn What is Database & Different types of Database (for beginners):
• Learn What is Database...
I hope the video was useful. Please like, subscribe and comment any queries or issues you may have faced during your PostgreSQL installation.
Thank you and stay tuned for more SQL, Database and other tech video's on this channel.
🔴 WATCH MORE VIDEOS HERE 👇
✅ SQL Tutorial - Basic concepts:
• SQL Tutorial - Basic c...
✅ SQL Tutorial - Intermediate concepts:
• SQL Tutorial - Interme...
✅ SQL Tutorial - Advance concepts:
• SQL Tutorial - Advance...
✅ Practice Solving Basic SQL Queries:
• Practice Solving BASIC...
✅ Practice Solving Intermediate SQL Queries:
• Practice Solving INTER...
✅ Practice Solving Complex SQL Queries:
• Practice Solving COMPL...
✅ Data Analytics Career guidance:
• Data Analytics career ...
✅ SQL Course, SQL Training Platform Recommendations:
• SQL Course / Training
✅ Python Tutorial:
• Python Tutorial
✅ Git and GitHub Tutorial:
• Git and GitHub
✅ Data Analytics Projects:
• Data Analytics Projects
THANK YOU,
Thoufiq

Пікірлер: 125
@pedra_rara
@pedra_rara 3 жыл бұрын
You're a lifesaver!!!! Thank you ever sooo much
@techTFQ
@techTFQ 3 жыл бұрын
Thank you so much for your kind words.. So glad it helped🙂
@mattbrody1424
@mattbrody1424 Жыл бұрын
If you can not install it on your own by reading the docs I'd recommend you change the careers.
@fathimafarahna2633
@fathimafarahna2633 3 жыл бұрын
Being a naive, yet very easy to understand. You make a great tutor. Keep up your good work.
@techTFQ
@techTFQ 3 жыл бұрын
Thank you ☺️
@hannachoi5819
@hannachoi5819 3 жыл бұрын
This video just gave me real peace since my mac kept failing to open PostgreSQL after upgrading to Big Sur. I finally open it and it works fine.
@techTFQ
@techTFQ 3 жыл бұрын
Awesome... glad the video helped.. Thanks for your comment..
@rafiyashahana5498
@rafiyashahana5498 3 жыл бұрын
Very informative and helpful. Would love to see more such videos. 👌🏻
@techTFQ
@techTFQ 3 жыл бұрын
Thank you Rafiya... 😀
@nehatiwari2739
@nehatiwari2739 2 жыл бұрын
Thanks a lot for such a detailed explanation, its very useful. Thanks once again.
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome Neha :)
@mohammedshahil4898
@mohammedshahil4898 3 жыл бұрын
Never used PostgreSQL DB. But really loved the video & enjoyed learning something new👍🏻 Kuddos👏🏻 Keep up the good work brother🙌🏻
@techTFQ
@techTFQ 3 жыл бұрын
Thank you Shahil.. It’s one of the most widely used RDBMS today and is gaining more popularity everyday so no harm in learning this 😀 Thank you for liking it..
@thetyeewin3482
@thetyeewin3482 2 жыл бұрын
Thanks much! It is really helpful for me (beginner in PostgreSQL).
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome Yee Win , Glad this helped
@zolongOne
@zolongOne 2 жыл бұрын
Your video was really helpful. Thanks!
@techTFQ
@techTFQ 2 жыл бұрын
Thank you 🙏🏼 So glad it helped you 🙂
@jpg6220
@jpg6220 2 жыл бұрын
I needed this so much! thank you !!
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome 🙏🏼 Glad this helped ..
@amyhart2994
@amyhart2994 3 жыл бұрын
Fantastic guide, thank you!
@techTFQ
@techTFQ 3 жыл бұрын
Thank you for the feedback ☺️ Much appreciated
@neelakantaraja3780
@neelakantaraja3780 Жыл бұрын
your explantion is awesome...its worth..
@aadione8
@aadione8 4 ай бұрын
Great help sir
@sheebaparveen3630
@sheebaparveen3630 3 жыл бұрын
Nicely explained 👌👌 perfect
@techTFQ
@techTFQ 3 жыл бұрын
Thank you Sheeba 😀
@konstantin_rom
@konstantin_rom 2 жыл бұрын
Hi! Thanks for the video)
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome 🙏🏼
@melissal431
@melissal431 3 жыл бұрын
Cool . Informative
@techTFQ
@techTFQ 3 жыл бұрын
Thank you 😊
@xeskan
@xeskan 3 жыл бұрын
Nice video, enjoyed it. Please keep them coming. I forgot my PostgreSQL user password, please share if you know the best way to reset it. Thank you!
@rg7380
@rg7380 2 жыл бұрын
you are awesome thank you for saving my time :)
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome 🙏🏼 i am glad this helped
@kotlanavitha4777
@kotlanavitha4777 Жыл бұрын
Hi , iam new learner to the SQL and i started few days ago but in my postgresql query was successfully executed but nothing was displayed in the data output I mean as shown above after successful execution the output in the format table filled with the stedends data so please could you help me out from this issue
@open-source243
@open-source243 2 жыл бұрын
Thank you ever so much :)
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome 🙏🏼
@vanshikakathpal381
@vanshikakathpal381 3 ай бұрын
hey firstly, thanks a lot i want to ask that i m learning from stratch is these 18 videos playlist is enough to learn basic sql?
@marcuswest4572
@marcuswest4572 Жыл бұрын
Excellent
@estheryakubu2092
@estheryakubu2092 Жыл бұрын
Thank you...
@alapaher377
@alapaher377 17 күн бұрын
hi u make great videos but have just 1 request, can u plz zoom in your commands and screen in query tool so its easier for us to read. thnks from germany...
@chendathp10
@chendathp10 2 жыл бұрын
Thank you Thoufiq for this tutorial 👍 🙌 15:18 Can you explain how to change Owner database for default "postgres" please ? 🙏
@chendathp10
@chendathp10 2 жыл бұрын
FIND IT 😅 : I created the postgres Superuser : CREATE USER postgres SUPERUSER; then : CREATE DATABASE postgres WITH OWNER postgres; With command \du you can see all users. I quit my terminal and come back with : psql -U postgres VOILA 🥳
@techTFQ
@techTFQ 2 жыл бұрын
Awesome chenda 👌 Glad you found the solution
@patrickbateman7665
@patrickbateman7665 3 жыл бұрын
Thank you Thoufiq Mohammed
@techTFQ
@techTFQ 3 жыл бұрын
Your welcome Dileep 🙂😃.. I hope it was helpful..
@hmb8543
@hmb8543 Жыл бұрын
Thank you TFQ, can you provide the database in order to follow you?
@Kanakapallianurag
@Kanakapallianurag 2 жыл бұрын
very helpfull.
@techTFQ
@techTFQ 2 жыл бұрын
Thank you Anurag 🙏🏼
@smithasmith161
@smithasmith161 3 жыл бұрын
Helpful
@techTFQ
@techTFQ 3 жыл бұрын
Thank you 😊
@ayushishukla2333
@ayushishukla2333 2 жыл бұрын
I am trying to uninstall my postgresql but I think while moving the folder, I lost the postgresql uninstaller. Now when I trying to delete the bin and data directories, its given me an error that these files are in use in some program. Kindly help me to uninstall it completely.
@brianchukwunalu2486
@brianchukwunalu2486 Жыл бұрын
hello I tried everything but the only buttons showing on my poster sql interface is sql and property only
@bunnyr4690
@bunnyr4690 3 жыл бұрын
God bless, you saved me
@techTFQ
@techTFQ 3 жыл бұрын
Thank you for the feedback... So glad it helped 🙂...
@ANAND02120
@ANAND02120 2 жыл бұрын
After installing and opening I cannot see any database when I click on the server. How to fix it?
@komalkaur3876
@komalkaur3876 3 жыл бұрын
Hi , Thank u for the video .. i have one question ... how to re-attach panel actually in my system i was trying fetch sql query and accidentally panel got detach but there is no option to attclach it back to editor. When i try to run its showing “stay or leave on the page” . Not able to execute my query. Please answer this ASAP.
@techTFQ
@techTFQ 3 жыл бұрын
Hi.. your welcome.. I believe you want your pg admin layout to be as it was in the beginning right? If so go to File -> Reset Layout This should do it.. Also after the reset you can click File -> Lock layout -> prevent Docking to avoid such issues in future..
@komalkaur3876
@komalkaur3876 3 жыл бұрын
@@techTFQ Thank you very much.
@itsvikas-ei8hn
@itsvikas-ei8hn Жыл бұрын
Toufic sir make a PostgreSQL tutorial on the command line because if you make a command line tutorial for Postgresql it lot's of help for a beginner how we can use Postgres use into command line
@kotlanavitha4777
@kotlanavitha4777 Жыл бұрын
First thanks for making this video sir ! very informative, in my laptop query executed but in data out nothing was displayed it's blank plz help me out of this issue sir
@igothisoncamera7205
@igothisoncamera7205 2 жыл бұрын
please make a video about how to use psql using terminal command line tools
@techTFQ
@techTFQ 2 жыл бұрын
Hi, haven’t planned this for now but will surely consider making a video abt it in near future
@sunilrskanda1588
@sunilrskanda1588 Жыл бұрын
could please tell me how to import the SQL file to postgre
@Metallica91394
@Metallica91394 5 ай бұрын
So apparently the error has something to do with te processor of the mac, if you open the finder and search for the app, in the option Get Info you just activate the "run with rosetta", it will eliminate the error opening PgAdmin.
@Brolly_son_of_Brix
@Brolly_son_of_Brix 7 күн бұрын
its not working
@neelakantaraja3780
@neelakantaraja3780 Жыл бұрын
trying to install in windows...i am not getting option to create password while installation..but after installation i am resetting the password..tere its is asking one more password....server connection also lost....how to create server connection if we reset master password? how to create password for server?
@theunboxingchannel885
@theunboxingchannel885 Жыл бұрын
Hey man can you also make a video of removing and resetting the password?
@Iamnithinadhan
@Iamnithinadhan 6 ай бұрын
good video
@techTFQ
@techTFQ 6 ай бұрын
Glad you enjoyed
@raghuvaranmba8184
@raghuvaranmba8184 14 күн бұрын
Sir why enter current date in value insertion?
@shankars8211
@shankars8211 10 ай бұрын
Hi. I installed Postgresql as per the instructions in your video. but when i try to open the PG admin4, its showing fatal error indicating the server could not be contacted. kindly help me in this
@andreichisa550
@andreichisa550 5 ай бұрын
i had the same problem how did rou resolve?
@shabanashabana4603
@shabanashabana4603 3 жыл бұрын
Nice
@techTFQ
@techTFQ 3 жыл бұрын
Thank you 😊
@chaitras1113
@chaitras1113 Жыл бұрын
Text is not there in the database where I have to find that
@bandimanasa9380
@bandimanasa9380 4 ай бұрын
After installing ..it is still asking to install again and again. Can u help me out please.
@clarencechong7367
@clarencechong7367 Жыл бұрын
Any Windows version or only MacOS guide?
@empire1334
@empire1334 6 ай бұрын
Is it same for windows also ?
@anupprakash6545
@anupprakash6545 9 ай бұрын
Your Video is awesome. Could you please share me the query. Notebook as well. thanks!
@mram1690
@mram1690 8 ай бұрын
How to set a password postgresql and pgadmin in macos please help
@apurvadarsh85
@apurvadarsh85 2 жыл бұрын
I am on Apple Silicon M1 and I get the following error. A non-fatal error occur whilst creating menu shortcuts. problem running post-install step. installation may not complete correctly the database cluster. I tried installing different versions of Postgre but getting the same error. Can you help ?
@techTFQ
@techTFQ 2 жыл бұрын
Hi, Which type of installation have you chosen? Is it the interactive installer by EDB or Postgres.app or Homebrew? I think EDB might give some issues sometime for some version and generally the Postgres.app sure work fine. Can you try Postgres.app
@apurvadarsh85
@apurvadarsh85 2 жыл бұрын
@@techTFQ I tried EDB first, it failed. Then I tried postgres.app, it succeded. But after installing pgadmin 4, the server doesn't show up
@techTFQ
@techTFQ 2 жыл бұрын
Have you initialized the server as mentioned in the website?
@apurvadarsh85
@apurvadarsh85 2 жыл бұрын
@@techTFQ yes, as you showed on the video. Server was initialized correctly. I can see 3 server names including postgres
@techTFQ
@techTFQ 2 жыл бұрын
Ok, I had faced something like this long back and I remember I just uninstalled Postgres and PgAdmin and then re installed it again and it worked fine.. Can you try that
@trifff40
@trifff40 9 ай бұрын
Have you create how to install postgreSQL on windows sir ?
@xeskan
@xeskan 3 жыл бұрын
Followed the process to uninstall but can still see the user: PostgreSQL at the login. So it's not a complete uninstallation. I deleted it by going to Mac Settings>users. Not sure if this is enough. Please make a video to access PostgreSQL from Python. Thank you!
@techTFQ
@techTFQ 3 жыл бұрын
Thank you for the feedback.. Yes generally any database uninstallation involves some steps to delete files manually.. I believe I covered all of these steps in the video.. You can also refer to the uninstallation instruction given by PostgreSQL (link in description) Hopefully it should clarify any of you doubts
@lv_music_creation3156
@lv_music_creation3156 2 жыл бұрын
kindly provide practices set
@techTFQ
@techTFQ 2 жыл бұрын
What practice set
@AbbasSaqlain-dn9qp
@AbbasSaqlain-dn9qp Жыл бұрын
sir why is postgre SQL is better than other SQL IDE,
@surajgupta6962
@surajgupta6962 Жыл бұрын
Easily Explained.
@techTFQ
@techTFQ Жыл бұрын
Thank you
@sarazafar849
@sarazafar849 4 ай бұрын
Can someone copy paste the Table script he used? I'm getting a syntax error and I want to see where my mistake is
@lamaalsharyan5187
@lamaalsharyan5187 2 жыл бұрын
Thank yyyyoooouuu!!!! So helpful.. i used the first method but when i login to pg admin it show me this error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "postgres" why? How to solve it?
@techTFQ
@techTFQ 2 жыл бұрын
Your welcome 🙏🏼 I think the error is due to incorrect password.. password should be the same which you entered during installation..
@lamaalsharyan5187
@lamaalsharyan5187 2 жыл бұрын
@@techTFQ am sure it correct and i try to reset new password but it still this error appears. can you help me? :(
@techTFQ
@techTFQ 2 жыл бұрын
Hi, I think you installed using the EDB method but I’ve seen some issue in it faced by some other people as well so can you uninstall this and then try to re-install using the Postgres.app method .. I think this will work
@lamaalsharyan5187
@lamaalsharyan5187 2 жыл бұрын
@@techTFQ thank you a looooooot my mistake was ther chick box i didnt check it when they want me enter the password :)
@techTFQ
@techTFQ 2 жыл бұрын
Ok 👍 glad it finally worked 😊
@phichayaboice2033
@phichayaboice2033 2 жыл бұрын
I just installed PostgreSQL but it says "A non-fatal error occur whilst creating menu shortcuts.". What should I do?
@phichayaboice2033
@phichayaboice2033 2 жыл бұрын
And it says "Problem running post-install step. Installation may not complete correctly. Failed to start the database server.".
@ogunyemigodwin5690
@ogunyemigodwin5690 11 ай бұрын
i have an error while installing postgreSQL on my laptop,it windows
@simranpardeshi8535
@simranpardeshi8535 7 күн бұрын
The current_date in the Dob column isn't working
@BusinessandFinance89
@BusinessandFinance89 Ай бұрын
I just started learning SQL Today ( from a non tech finance background ). Started with your SQL Playlist. This is the second video. Having too much difficulty understanding . All the commands etc , only someone who already knows SQL can understand. What command,how did you arrive at . No explanation of the whole PGADMIN app. Straight deepdive into complex SQL Commands which went above my head. Too hard to understand. Is there extended version of SQL basic explanation video ?
@Summer-7
@Summer-7 Жыл бұрын
help ): connection to server at 'localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "postgres" i get this error when i try to open the server ?
@deawiw
@deawiw 9 ай бұрын
were you able to solve this problem? i'm in the same situation right now(
@allmixslaxy7981
@allmixslaxy7981 5 ай бұрын
anyone know how to solve this problem
@user-iy4zb5uo6o
@user-iy4zb5uo6o 7 ай бұрын
Hello sir, Do you handle any Online, Live / offline classes?
@techTFQ
@techTFQ 6 ай бұрын
I might start something next month. It will be announced on LinkedIn
@pelussienta
@pelussienta 3 жыл бұрын
i had the same mistake with the (13.1 version)
@techTFQ
@techTFQ 3 жыл бұрын
Are you also using Mac OS Big Sur? I imagined the issue to be due to Mac OS Big Sur and not with Postrges..
@hiteshvarma27
@hiteshvarma27 29 күн бұрын
getting error -> ERROR: syntax error at or near "Varchar" LINE 4: First Name Varchar (100) Not Null,
@pavanmunagasetty6930
@pavanmunagasetty6930 Жыл бұрын
Pg admin fatal error why??
@ogunyemigodwin5690
@ogunyemigodwin5690 11 ай бұрын
pgadmin is not responding,it giving a fatal error
@alvinguaba2091
@alvinguaba2091 7 ай бұрын
top
@techTFQ
@techTFQ 6 ай бұрын
Thanks:)
@vikalpbhatt4382
@vikalpbhatt4382 7 ай бұрын
Pg admin is not asking password when opened what to do?
@srinikhilallamshetty1106
@srinikhilallamshetty1106 5 күн бұрын
Im also facing the same did u get it
@gopikrishnacheekati1689
@gopikrishnacheekati1689 4 ай бұрын
username and password is what
@SatyamSoni1990
@SatyamSoni1990 Жыл бұрын
Please add link for query
SQL Basics Tutorial for Beginners (Practice SQL Queries)
1:10:21
techTFQ
Рет қаралды 1,1 МЛН
Learn What is Database | Types of Database | DBMS
12:11
techTFQ
Рет қаралды 406 М.
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 62 МЛН
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 112 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 13 МЛН
How to Install PostgreSQL on Mac | Install PostgreSQL on macOS (2024)
9:00
ProgrammingKnowledge
Рет қаралды 31 М.
How To Organize Files On Your Mac
11:39
macmostvideo
Рет қаралды 81 М.
MongoDB Explained in 10 Minutes | SQL vs NoSQL | Jumpstart
11:18