How to Install Postgres on MacOS

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024
  • 📝 Get my free SQL Cheat Sheets: www.databasestar.com/get-sql-...
    🎓 Learn and become confident in SQL: databasestar.mykajabi.com/sql...
    If you want to install Postgres on a Mac, you have two options: use the installation package (a DMG file) or use Homebrew.
    In this video, I’ll show you how to download and install Postgres using the installation package, and connect to it using pgAdmin (which comes with the installation).
    ⏱ TIMESTAMPS:
    00:00 Introduction
    00:14 Download installation package
    01:15 Install Postgres
    03:18 Connect using pgAdmin
    🔗 BLOG POST:
    How to Install Postgres on Mac: www.databasestar.com/install-...
  • НаукаНаука

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

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

    Hi could you please do a video for using dbeaver just like how you used pgadmin, I’ve even having issues connecting to localhost on dbeaver

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

      Hey, I’ve already got a video for using dbeaver on my channel. What issue are you having?

  • @KostiantynVoskovtsov
    @KostiantynVoskovtsov Месяц назад

    thank you !

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

    thanks for share!

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

    Thanks a lot bro..

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

    Thanks!

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

    Hi , do you have similar install guide for Windows 11? If yes please share . Thanks

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

      Hi, I don't have one yet, but I'll make one soon.

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

      @@DatabaseStar Thanks . Will look forward to it . Your videos are great . Thanks

  • @karkmingston
    @karkmingston Год назад +3

    Every time I download it I get a "Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed." error. I have done a lot of troubleshooting and can't seem to figure it out. It happens for every single version I try. Any ideas?

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

      Hmm that's a strange one. I can't offer any advice on this unfortunately :(

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

      I have the same problem 🥲

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

      I have the same Problem :( did u fix it??

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

      @@fernandaromayisaias6064 nope I just got my Udemy course refunded and am doing one related to Big query now 😅

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

    What is application stack builder application installed along side with pgadmin ?

    • @DatabaseStar
      @DatabaseStar  11 месяцев назад +1

      It allows you to add and remove modules using a GUI

  • @ofekivri5589
    @ofekivri5589 8 месяцев назад

    I installed the postgsql but after I try to enter pgadmin, pgadmin not working. What can I do ??
    I try to do uninstall and install and it’s didn’t worked

    • @DatabaseStar
      @DatabaseStar  8 месяцев назад

      What issue are you having? Are you getting an error message?

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

    Hi,
    Please, I followed thoroughly with the instructions but at the end of my installation I get an error message saying “ database initialization cluster failed” please what can I do?
    P.s I downloaded the version 12.18 because I’m on a Mac 10.15

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

      Oh I'm not sure, I haven't seen that before. Perhaps there are some posts on websites or StackOverflow with solutions.

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

    when I input password correct, it says could not connect to server: Connection refused Is the server running on host "localhost" ? and how to change the password for that ? pleas can help me 🙏🙏

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

      Is the Postgres database running? It should be if you've followed this process. Is it the same password that you specified when you installed Postgres?

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

    Can we use PostGreSQL on ipad? If so, how can we download it.

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

      I'm not sure you can actually. You could use a web-based version if you want to write code.

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

    My pgAdmin is stuck on the loading screen right before creating a master password on my MacOS, should I try using DBeaver instead?

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

      Oh that's odd. You could try using DBeaver if pgAdmin doesn't work. I use DBeaver as much as I use pgAdmin at the moment, both are good tools.

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

      @@DatabaseStar thank you ! DBeaver worked perfectly

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

    when i input password, it says could not connect to server: Connection refused Is the server running on host "localhost" , is this because the server is not running?

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

      Yeah that could be the reason. You can check if it’s running on the terminal or I think in the system settings.

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

      @@DatabaseStar thanks. Now it works.

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

      how you solve it?

  • @barix2693
    @barix2693 5 месяцев назад

    After installing it, when I turn off the computer and turn it on, Postgresql closes down. How can I turn it on again? I cannot connect even though I entered the password.

    • @DatabaseStar
      @DatabaseStar  5 месяцев назад

      There should be a way to automatically start Postgres when you restart your computer. I'm not sure how, but perhaps there's an option in System Preferences.

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

    how do you add psql to the terminal?

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

      It should automatically come with psql, as far as I know?

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

      @@DatabaseStar I don't think it does.

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

      I also need help with this, did you figure it out?

  • @AMIR-om6lv
    @AMIR-om6lv 10 месяцев назад

    I click to open , then pops out the main image then close . And never open I all been struggling for 4 hrs
    Please help I have Mac OS Monterey

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

      Are you opening the downloaded Postgres file? Or something else? I'm not sure what the issue could be.

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

    How do I fix the binary path on macbook?

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

      What's wrong with the binary path?

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

      @@DatabaseStar I didnt find the correct path, but I found it now :)

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

      how did you find it?
      @@sobhanjahangir4292

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

    Postgresql isn't showing below my server dropdown

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

      Oh that's strange. Perhaps you can add a new Server in pgAdmin and specify the connection details.

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

      @@DatabaseStar How do I do the same?

  • @Summer-7
    @Summer-7 Год назад +1

    i could not open the servers it gave me an ERROR for the password ):

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

      Did you enter the same password that you specified when you installed Postgres?

    • @user-elizabeta
      @user-elizabeta Год назад +2

      i have the same problem. Could you tell me you found solution?

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

      @@user-elizabeta same problem

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

    200th like

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

    this is not works, fatal error

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

      What part of the process are you getting this error in?