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

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • 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...
    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

Комментарии • 130

  • @pedra_rara
    @pedra_rara 3 года назад +13

    You're a lifesaver!!!!
    Thank you ever sooo much

    • @techTFQ
      @techTFQ  3 года назад +1

      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.

  • @vanshikakathpal381
    @vanshikakathpal381 6 месяцев назад +2

    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?

  • @fathimafarahna2633
    @fathimafarahna2633 3 года назад +13

    Being a naive, yet very easy to understand. You make a great tutor. Keep up your good work.

    • @techTFQ
      @techTFQ  3 года назад +1

      Thank you ☺️

  • @xeskan
    @xeskan 3 года назад +4

    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!

  • @alapaher377
    @alapaher377 3 месяца назад +1

    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...

  • @ayushishukla2333
    @ayushishukla2333 2 года назад +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.

  • @Metallica91394
    @Metallica91394 8 месяцев назад +2

    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.

  • @ANAND02120
    @ANAND02120 2 года назад +2

    After installing and opening I cannot see any database when I click on the server. How to fix it?

  • @hannachoi5819
    @hannachoi5819 3 года назад +4

    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..

  • @hiteshvarma27
    @hiteshvarma27 4 месяца назад

    getting error -> ERROR: syntax error at or near "Varchar"
    LINE 4: First Name Varchar (100) Not Null,

  • @neelakantaraja3780
    @neelakantaraja3780 Год назад +1

    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?

  • @BusinessandFinance89
    @BusinessandFinance89 4 месяца назад

    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 ?

    • @tahoesoftwareinc.5305
      @tahoesoftwareinc.5305 2 месяца назад

      Yes, at this point he's going past what we know. It will be explained in more detail later. For now just blinfly do what he says.

  • @theunboxingchannel885
    @theunboxingchannel885 Год назад +1

    Hey man can you also make a video of removing and resetting the password?

  • @uzmasultana9018
    @uzmasultana9018 14 дней назад

    iam not able to start after downloading and installing when i open pgadmin it shows error server could not be contacted

  • @thetyeewin3482
    @thetyeewin3482 2 года назад +3

    Thanks much! It is really helpful for me (beginner in PostgreSQL).

    • @techTFQ
      @techTFQ  2 года назад

      Your welcome Yee Win ,
      Glad this helped

  • @NaveenKumar-fm5yg
    @NaveenKumar-fm5yg Месяц назад

    getting the same error but if i try to click pgadmin again it show the same error for me its not opening can someone tell me what to do

  • @shankars8211
    @shankars8211 Год назад +1

    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 8 месяцев назад +1

      i had the same problem how did rou resolve?

  • @nehatiwari2739
    @nehatiwari2739 2 года назад +3

    Thanks a lot for such a detailed explanation, its very useful. Thanks once again.

    • @techTFQ
      @techTFQ  2 года назад

      Your welcome Neha :)

  • @simranpardeshi8535
    @simranpardeshi8535 3 месяца назад

    The current_date in the Dob column isn't working

  • @zolongOne
    @zolongOne 3 года назад +3

    Your video was really helpful. Thanks!

    • @techTFQ
      @techTFQ  3 года назад +1

      Thank you 🙏🏼
      So glad it helped you 🙂

  • @xeskan
    @xeskan 3 года назад +1

    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 года назад +1

      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

  • @chendathp10
    @chendathp10 2 года назад +2

    Thank you Thoufiq for this tutorial 👍 🙌 15:18 Can you explain how to change Owner database for default "postgres" please ? 🙏

    • @chendathp10
      @chendathp10 2 года назад +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 года назад +1

      Awesome chenda 👌
      Glad you found the solution

  • @jpg6220
    @jpg6220 3 года назад +4

    I needed this so much! thank you !!

    • @techTFQ
      @techTFQ  3 года назад

      Your welcome 🙏🏼
      Glad this helped ..

  • @neelakantaraja3780
    @neelakantaraja3780 Год назад +1

    your explantion is awesome...its worth..

  • @pavanmunagasetty6930
    @pavanmunagasetty6930 Год назад +1

    Pg admin fatal error why??

  • @igothisoncamera7205
    @igothisoncamera7205 3 года назад +1

    please make a video about how to use psql using terminal command line tools

    • @techTFQ
      @techTFQ  3 года назад +1

      Hi, haven’t planned this for now but will surely consider making a video abt it in near future

  • @komalkaur3876
    @komalkaur3876 3 года назад +1

    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 года назад +1

      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 года назад +1

      @@techTFQ Thank you very much.

  • @aadione8
    @aadione8 7 месяцев назад +1

    Great help sir

  • @sarazafar849
    @sarazafar849 7 месяцев назад

    Can someone copy paste the Table script he used? I'm getting a syntax error and I want to see where my mistake is

  • @mohammedshahil4898
    @mohammedshahil4898 3 года назад +2

    Never used PostgreSQL DB. But really loved the video & enjoyed learning something new👍🏻 Kuddos👏🏻 Keep up the good work brother🙌🏻

    • @techTFQ
      @techTFQ  3 года назад +1

      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..

  • @apurvadarsh85
    @apurvadarsh85 3 года назад +1

    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  3 года назад

      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 3 года назад +1

      @@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  3 года назад

      Have you initialized the server as mentioned in the website?

    • @apurvadarsh85
      @apurvadarsh85 3 года назад +1

      @@techTFQ yes, as you showed on the video. Server was initialized correctly. I can see 3 server names including postgres

    • @techTFQ
      @techTFQ  3 года назад

      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

  • @Vikas_Nandikar
    @Vikas_Nandikar Год назад

    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

  • @lamaalsharyan5187
    @lamaalsharyan5187 3 года назад +1

    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  3 года назад

      Your welcome 🙏🏼
      I think the error is due to incorrect password.. password should be the same which you entered during installation..

    • @lamaalsharyan5187
      @lamaalsharyan5187 3 года назад +1

      @@techTFQ am sure it correct and i try to reset new password but it still this error appears. can you help me? :(

    • @techTFQ
      @techTFQ  3 года назад +1

      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 года назад +1

      @@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 😊

  • @raghuvaranmba8184
    @raghuvaranmba8184 3 месяца назад

    Sir why enter current date in value insertion?

    • @tahoesoftwareinc.5305
      @tahoesoftwareinc.5305 2 месяца назад +1

      It's an oversight on his part. If you want to insert a real date, use this format: 'YYYY-MM-DD' insread of current_date.

  • @anupprakash6545
    @anupprakash6545 Год назад

    Your Video is awesome. Could you please share me the query. Notebook as well. thanks!

  • @gopikrishnacheekati1689
    @gopikrishnacheekati1689 7 месяцев назад

    username and password is what

  • @ogunyemigodwin5690
    @ogunyemigodwin5690 Год назад

    i have an error while installing postgreSQL on my laptop,it windows

  • @brianchukwunalu2486
    @brianchukwunalu2486 Год назад

    hello I tried everything but the only buttons showing on my poster sql interface is sql and property only

  • @bandimanasa9380
    @bandimanasa9380 7 месяцев назад

    After installing ..it is still asking to install again and again. Can u help me out please.

  • @surajgupta6962
    @surajgupta6962 2 года назад +2

    Easily Explained.

  • @amyhart2994
    @amyhart2994 3 года назад +3

    Fantastic guide, thank you!

    • @techTFQ
      @techTFQ  3 года назад

      Thank you for the feedback ☺️
      Much appreciated

  • @trifff40
    @trifff40 Год назад

    Have you create how to install postgreSQL on windows sir ?

  • @mram1690
    @mram1690 11 месяцев назад

    How to set a password postgresql and pgadmin in macos please help

  • @lv_music_creation3156
    @lv_music_creation3156 2 года назад +1

    kindly provide practices set

    • @techTFQ
      @techTFQ  2 года назад

      What practice set

  • @pelussienta
    @pelussienta 3 года назад +1

    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..

  • @rafiyashahana5498
    @rafiyashahana5498 3 года назад +2

    Very informative and helpful. Would love to see more such videos. 👌🏻

    • @techTFQ
      @techTFQ  3 года назад

      Thank you Rafiya... 😀

  • @phichayaboice2033
    @phichayaboice2033 3 года назад

    I just installed PostgreSQL but it says "A non-fatal error occur whilst creating menu shortcuts.". What should I do?

    • @phichayaboice2033
      @phichayaboice2033 3 года назад

      And it says "Problem running post-install step. Installation may not complete correctly. Failed to start the database server.".

  • @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 Год назад

      were you able to solve this problem? i'm in the same situation right now(

    • @allmixslaxy7981
      @allmixslaxy7981 9 месяцев назад

      anyone know how to solve this problem

  • @clarencechong7367
    @clarencechong7367 Год назад

    Any Windows version or only MacOS guide?

  • @hmb8543
    @hmb8543 Год назад

    Thank you TFQ, can you provide the database in order to follow you?

  • @open-source243
    @open-source243 2 года назад +1

    Thank you ever so much :)

    • @techTFQ
      @techTFQ  2 года назад

      Your welcome 🙏🏼

  • @sunilrskanda1588
    @sunilrskanda1588 Год назад

    could please tell me how to import the SQL file to postgre

  • @chaitras1113
    @chaitras1113 Год назад

    Text is not there in the database where I have to find that

  • @ogunyemigodwin5690
    @ogunyemigodwin5690 Год назад

    pgadmin is not responding,it giving a fatal error

  • @PankajaKA
    @PankajaKA 10 месяцев назад

    Hello sir, Do you handle any Online, Live
    / offline classes?

    • @techTFQ
      @techTFQ  9 месяцев назад

      I might start something next month. It will be announced on LinkedIn

  • @konstantin_rom
    @konstantin_rom 2 года назад +1

    Hi! Thanks for the video)

    • @techTFQ
      @techTFQ  2 года назад

      Your welcome 🙏🏼

  • @rg7380
    @rg7380 2 года назад +1

    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

  • @patrickbateman7665
    @patrickbateman7665 3 года назад +1

    Thank you Thoufiq Mohammed

    • @techTFQ
      @techTFQ  3 года назад +1

      Your welcome Dileep 🙂😃.. I hope it was helpful..

  • @vikalpbhatt4382
    @vikalpbhatt4382 10 месяцев назад

    Pg admin is not asking password when opened what to do?

  • @AbbasSaqlain-dn9qp
    @AbbasSaqlain-dn9qp Год назад

    sir why is postgre SQL is better than other SQL IDE,

  • @bunnyr4690
    @bunnyr4690 3 года назад +1

    God bless, you saved me

    • @techTFQ
      @techTFQ  3 года назад

      Thank you for the feedback...
      So glad it helped 🙂...

  • @empire1334
    @empire1334 9 месяцев назад

    Is it same for windows also ?

  • @Kanakapallianurag
    @Kanakapallianurag 2 года назад +1

    very helpfull.

    • @techTFQ
      @techTFQ  2 года назад

      Thank you Anurag 🙏🏼

  • @melissal431
    @melissal431 3 года назад +1

    Cool . Informative

    • @techTFQ
      @techTFQ  3 года назад +1

      Thank you 😊

  • @alvinguaba2091
    @alvinguaba2091 10 месяцев назад

    top

    • @techTFQ
      @techTFQ  9 месяцев назад

      Thanks:)

  • @SatyamSoni1990
    @SatyamSoni1990 Год назад

    Please add link for query

  • @sheebaparveen3630
    @sheebaparveen3630 3 года назад +1

    Nicely explained 👌👌 perfect

    • @techTFQ
      @techTFQ  3 года назад

      Thank you Sheeba 😀

  • @shabanashabana4603
    @shabanashabana4603 3 года назад +1

    Nice

    • @techTFQ
      @techTFQ  3 года назад

      Thank you 😊

  • @smithasmith161
    @smithasmith161 3 года назад +1

    Helpful

    • @techTFQ
      @techTFQ  3 года назад +1

      Thank you 😊

  • @estheryakubu2092
    @estheryakubu2092 Год назад

    Thank you...

  • @marcuswest4572
    @marcuswest4572 Год назад

    Excellent

  • @Iamnithinadhan
    @Iamnithinadhan 9 месяцев назад

    good video

    • @techTFQ
      @techTFQ  9 месяцев назад

      Glad you enjoyed