Set up a local PostgreSQL Database on macOS

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • In this video we look at how easy it is to get a PostgreSQL server running locally on macOS. We step through installing the Postgres App, initializing a user database and connecting to it using the `psql` command.
    Download the Postgres Mac App: postgresapp.com/
    Find written instruction for setting up a local PostgreSQL Database in Prisma's Data Guide: www.prisma.io/...
    Additional Prisma's Data Guide articles for PostgreSQL: www.prisma.io/...
    Make interfacing with your data super simple with Prisma's PostgreSQL connector: www.prisma.io/...
    Learn more about Prisma:
    ◭ Website: www.prisma.io​​​
    ◭ Docs: www.prisma.io/...
    ◭ Quickstart: www.prisma.io/...

Komentáře • 84

  • @kookookachooifcate
    @kookookachooifcate Před 8 měsíci +6

    dude 5 hours goes back everyone else's videos more confusing than helping and you help me in 5 min. Thank You!!

  • @usufdev
    @usufdev Před 2 lety +22

    I wandered around homebrew installation and error fixes and finally ended up youtube googling and made it in 2 minutes using this video! Thank you very much!

  • @adalbertpayan811
    @adalbertpayan811 Před rokem +4

    You are a godsend. I'm learning this for the first time and this is like learning Chinese as a second language

  • @_Ani_
    @_Ani_ Před rokem +6

    Immensely helpful, and much more simpler to set up than the homebrew version!

  • @iFunktion
    @iFunktion Před rokem +1

    Thanks for this, I've just spent a painful day trying to install postgres using brew. It's a real nightmare on a mac, I've installed it a few times on Linux with no issue, but on a mac on commandline is proper torture. This way is by far the easiest

  • @dexvt1862
    @dexvt1862 Před 8 měsíci

    Life saver. I love this guy, as well as his Supabase videos.

  • @MsSWAGboss
    @MsSWAGboss Před 2 lety +3

    Thank you :) Nice and quick tutorial.Used postgres for the first time and managed to establish a server for my confluence web app from the first try.

  • @ozzyfromspace
    @ozzyfromspace Před rokem

    Thank you for saving me from some insane frustration (I'm an absolute PostgreSQL newbie)

  • @PeaceChiillax
    @PeaceChiillax Před 2 lety

    Lifesaver - I have been getting so many issues with Postgres today

  • @rogerionhamahango3536

    Thank you very much for this video, i have suffaring for a week, but you safed myself. thanks and so many thanks. may Lord bless you!

  • @steec3100
    @steec3100 Před 4 měsíci

    This is the best video so far! Keep it up my guy! subscribed

  • @m_a_d_h_u_r_a
    @m_a_d_h_u_r_a Před rokem +2

    Thank you for this tutorial and your concise explaination ;)

  • @greenie62
    @greenie62 Před 2 lety +3

    so i botched this a bit with a homebrew install n, have tried 'starting over' (uninstalling efforts) n installing it this way and it works, except instead of initialize i just get a start/stop (server) n therefore, provides no default databases. I think its still aligning itself with my mac userprofile rather than its default of empty strings (user and password). any suggestions! :(

    • @usufdev
      @usufdev Před 2 lety +1

      Me too the same happened with me, homebrew PostgreSQL installation sucks!

  • @saman6199
    @saman6199 Před 2 lety +1

    Thanks so much for your nice and clear explanation

  • @user-pk5pw5pz6v
    @user-pk5pw5pz6v Před 5 měsíci

    how are you getting the suggestions in terminal , can you tell us please

  • @RayanA-gl7ox
    @RayanA-gl7ox Před 4 měsíci

    how can i create a new db? is there any way to that using this app?

  • @Eazy._E
    @Eazy._E Před 8 měsíci

    Thank you man I was getting mad at this stuff ❤

  • @maxwellgomess
    @maxwellgomess Před rokem

    nossa, eu tava quase desistindo da vida! obrigado

  • @sachinkakade8735
    @sachinkakade8735 Před rokem

    Thank you whole heartedly, brother. live long, grow more

  • @nahidparvez7346
    @nahidparvez7346 Před rokem

    Thanks for the tutorial. But I'm facing an issue, my server is running but from pgAdmin I cannot see nay server. How can I resolve it.

  • @pearsonrangani2691
    @pearsonrangani2691 Před rokem

    I can't see the icons "jon", "postgres" and "template 1" when I open the app. what could be the problem?

  • @lr4187
    @lr4187 Před rokem +1

    Hey! thanks for the video. When I put the sudo on the terminal of my computer, I then get to put my password but it appears a locker symbol and I'm unable to write my password. Do you know how to fix it? thanks in advance

    • @ruchimankar4336
      @ruchimankar4336 Před rokem

      i know its late, but try typing the password and press enter, normally for passwords on terminal, you can't see what you have typed, but it does take an input

  • @julianobandeiradefreitas5672

    Goodnight! How to allow port 5432 for MAC to work as a server?

  • @rajeevgupta4058
    @rajeevgupta4058 Před 2 lety

    hi, I'm getting an access denial message while accessing other directory from home, how to resolve this?

  • @alinachurikova7491
    @alinachurikova7491 Před 2 lety +1

    I don't understand which password we should type in Terminal?

  • @mpcrockett
    @mpcrockett Před rokem

    Thank you so much! This is so helpful

  • @apocalypseb7x
    @apocalypseb7x Před 2 lety +1

    Hey Prima, just a question i run postgress as you well described in your video but in my mac i see 3 different db> 1) postgress, 2)myname 3)template1. How can i see what there is inside template 1?

    • @adrianmin713
      @adrianmin713 Před 2 lety

      I dont really know but don't worry about it! And do not delete them either!

  • @estebanperez4755
    @estebanperez4755 Před 2 lety +2

    what terminal do you use? I'm curious about the autocomplete 🤔

  • @faruzzy
    @faruzzy Před 2 lety +1

    Thank you!

  • @huskyzinFPS
    @huskyzinFPS Před 2 lety

    What terminal were you using for autocomplete and syntax highlighting?

  • @netanelkaye3014
    @netanelkaye3014 Před 11 měsíci +1

    dont you need to put something in DATABASE_URL=""

  • @matinaminsabouri
    @matinaminsabouri Před 3 měsíci

    thanks

  • @emrekaplan742
    @emrekaplan742 Před 2 lety

    nice tutorial buddy thank!

  • @nfsgh4665
    @nfsgh4665 Před rokem

    zsh: command not found: psql, why can u help me, please?

  • @timothykoar6265
    @timothykoar6265 Před rokem

    great video! thank you

  • @SileLence
    @SileLence Před 8 měsíci

    Many thanks!

  • @geminicoding
    @geminicoding Před 2 lety +1

    thank you so much

  • @omgmaw
    @omgmaw Před rokem

    How can we connect postgres app to pgadmin?

  • @nuitech2190
    @nuitech2190 Před 2 lety

    I've spent too long try to install mysql on my mac. Postgres took me less than 3 mins.

  • @johnefezokhaeakaswagger1676

    Hi
    How do I reboot the terminal?

  • @user-nm2ho1vn7w
    @user-nm2ho1vn7w Před 2 lety

    Amazing. Thanks so much!!!

  • @kischamp
    @kischamp Před 2 lety

    thank you !!! top quality content

  • @apayrus
    @apayrus Před 2 lety

    thank you! it is top-quality content!

  • @haydermajli804
    @haydermajli804 Před rokem

    how mack your terminal autocomplete patch?????????????????????

  • @rezakhalafi528
    @rezakhalafi528 Před 2 lety +1

    How to reload terminal?

  • @nooruldeenqader6061
    @nooruldeenqader6061 Před rokem

    greate and simple

  • @boldschool6308
    @boldschool6308 Před rokem

    Thanks that helped

  • @AmeerHamza-cy6km
    @AmeerHamza-cy6km Před rokem

    can we use it with pgadmin?

  • @codigosimple1989
    @codigosimple1989 Před rokem

    thank you

  • @monixmmm
    @monixmmm Před rokem

    thanks!

  • @alexbritoofficial1608
    @alexbritoofficial1608 Před 2 lety

    Are you from Boston?

  • @girizh11
    @girizh11 Před 3 lety +1

    Why aren't anyone showing how to download with first option? That's easiest and no need to do anything on configuring etc

    • @lavgup
      @lavgup Před 3 lety +1

      As far as I know, it's harder to manage updates etc.

  • @ikechukwuemechebe9578
    @ikechukwuemechebe9578 Před 2 lety

    pls what password are we typing on the terminal ??

  • @natikgr3262
    @natikgr3262 Před 2 lety

    Thank you

  • @thoseoldcolors
    @thoseoldcolors Před 2 lety

    On point bby. luv

  • @shansiddiqui4741
    @shansiddiqui4741 Před 2 lety +2

    Postgresql documentation to set up DB is pathetic and seriously needs to be upgraded its a mess!

  • @inuhu5547
    @inuhu5547 Před rokem

    спасибо за русские субтитры хорошему человеку and thanks for the video

  • @ankitakakade2192
    @ankitakakade2192 Před rokem

    whats the password

  • @alihusham1560
    @alihusham1560 Před 2 lety

    how to delete the database

    • @PrismaData
      @PrismaData  Před 2 lety

      Hello there! You can find more information on how to create and delete databases and tables in PostgreSQL in our Prisma Data Guide - see here:
      www.prisma.io/dataguide/postgresql/create-and-delete-databases-and-tables

  • @shyngyssatkan9188
    @shyngyssatkan9188 Před rokem

    horosh

  • @frosty_alpaca8491
    @frosty_alpaca8491 Před 2 lety +1

    Thank you!

  • @tharseinoo
    @tharseinoo Před rokem

    thank you

  • @nishasreedharan4965
    @nishasreedharan4965 Před rokem

    Thank you!!

  • @jaimeviloriogreen
    @jaimeviloriogreen Před 2 lety

    Thank a lot!