How to Install Latest MongoDB on macOS

Поделиться
HTML-код
  • Опубликовано: 11 окт 2022
  • Commands used in the video
    --------------------------------------------------------
    1. Install Xcode Command-Line Tools
    $ xcode-select --install
    2. Install Homebrew - brew.sh/
    $ /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Hom...)"
    3. Install MongoDB 6.0 Community Edition
    $ brew tap mongodb/brew
    $ brew update
    $ brew install mongodb-community@6.0
    4. Run MongoDB
    $ brew services start mongodb/brew/mongodb-community
    5. Connect and use MongoDB
    $ mongosh
    Official tutorial: www.mongodb.com/docs/manual/t...
    #mongo #mongodb #macos #mac #install #tutorial #latest #profsadat ‪@ProfSadat‬

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

  • @SmartByTravel
    @SmartByTravel Год назад +9

    The way you demonstrate is so clear, practical and concise. I love it. Please keep making videos and thank you very much!

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

      I appreciate your kind words. Glad you found it helpful.

  • @codesnippet_by_anabel
    @codesnippet_by_anabel Год назад +2

    The only one who truly helped, much appreciated!

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

      Glad it helped. Thanks for your feedback!

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

    A very clear and straightforward tutorial, thanks!

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

    wow! many thanks for such a great video! easy to understand and helpful information. :) I had issue with server and everything is solved now :))) so happy

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

      Great! I’m glad you found it helpful :)

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

    Thank you, awesome tutorial!

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

    thank you for your explanations. I'm not very good at English and yet I understood everything your accent is perfect thank you again.

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

      Thank you! I’m happy to hear that you found the video helpful.

  • @Macclain.
    @Macclain. Год назад

    Thank you so much! you are amazing!! Been stuck on installation for the last 2 days haha

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

      Appreciate your feedback :) glad it helped

  • @Hamza-Hussain
    @Hamza-Hussain Год назад +1

    Thank you lala great tutorial!

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

    Best tutorial on the subject I've ever seen!

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

      Appreciate your feedback :)

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

    Thank You very much, the explanation was very clear and easy to understand😀

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

      Appreciate your feedback

  • @user-ei9qw5we5z
    @user-ei9qw5we5z Год назад

    great video. straight to the point on installing mongo

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

    Waiting for more mongo db command video. Nice video.

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

      Thanks! More to come soon. I plan to do an entire series on MongoDB.

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

    Thank You So Much Brother your video is great and easy to understand......

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

      Thanks for your support. Glad you found it helpful

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

    Thank you! your explanation help me a lot

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

    It helps a lot and great video. Thanks Sir

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

      Thank you for your feedback

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

    Thank you for the clear explanation.

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

      Thank you for the feedback.

  • @Sunil-Patra
    @Sunil-Patra Год назад

    thank you soo much sir , it was really helpful

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

    Thank you for your perfect explanation

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

      You're very welcome!

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

    Thanks Sir. its great help

  • @NIRAJKumarThakur-ne2nw
    @NIRAJKumarThakur-ne2nw Год назад

    its work Thanks a lot man

  • @Speaking-iu7ho
    @Speaking-iu7ho 4 месяца назад

    thakyou brother💌. its helpfull

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

    Thank you so much Professor

  • @aayushshukla342
    @aayushshukla342 Год назад +11

    Thank you so much, I faced an issue after installation suggesting an error that brew was not found , this could happen because the correct path might not be set , this command will help ( export PATH=/opt/homebrew/bin:$PATH )

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

      Hi Aayush, I’m glad you found this helpful. Thanks for sharing the error and solution; I’m sure those will help others facing the same problem.
      Yes, not having the program on the $PATH could lead to installation issues. I would also recommend adding that command in .bashrc file instead of using it in the terminal so that the change is permanent.

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

      @@ProfSadat can you give the step for that please. I'm facing the same issue

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

    Thanks.. very helpful

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

    Thank you so much sir !!!

  • @StrangerIm
    @StrangerIm 2 месяца назад

    Thank you so much.

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

    Thank you!!!

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

    thanksss keep on going mate

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

      Really appreciate your comment!

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

    Thanks for this wondeful video

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

    Thanks!

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

    best tutorial how to install. thanks!

  • @yashvardhan1995
    @yashvardhan1995 6 месяцев назад

    Very very helpful

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

    Thanks sir!

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

    Muchisimas gracias, me ayudo mucho.

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

    Thank you so much

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

    T
    Amazing! Thank you so much 🙂

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

    Thanks a lot it helped

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

    Thanks for your video. I follow all the step. I am facing a problem after I run "mongosh". It says "Access control is not enabled for the database". Please help. Here is the full message: The server generated these startup warnings when booting
    2023-07-08T15:27:59.626-04:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted

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

    thanks you saved me alot stress

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

      Glad to hear that :)

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

    I've been struggling for the past two weeks to find a way to install mongo... I just want to say than you !!11

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

      Thank you for your feedback! Glad to know it helped :)

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

    very helpful sir

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

    What is " brew services list".....could you please explain..when I gave this command it shows mongo community and error 3548?..

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

    thank you😄

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

    fatal: not in a git directory
    Error: Command failed with exit 128: git:
    I am facing this error after running $ brew install mongodb-community@6.0 , does anyone else face the same issue ?

  • @5_Minute.Lectures
    @5_Minute.Lectures Год назад +1

    Thanks bhai !!!

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

    it works!

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

    The legacy mongo shell is no longer included in server packages as of MongoDB 6.0. mongo has been superseded by the new MongoDB Shell ( mongosh ) .

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

      Yeah, you’re right. The change is more noticeable for Windows users as you need to install the shell separately, unlike previous MongoDB versions.

  • @user-ey7em4db9p
    @user-ey7em4db9p Год назад

    thank you!!!!!!

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

    the video is very much helpful..

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

    idolo crack te quiero mucho

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

    After entering brew command not giving any password option

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

    Thanks for it:)

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

      Glad it helped.

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

      @@ProfSadat SHould we make mongodb to always run in background that was written there in the terminal?

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

      @@harshdasila6680 No, always running is not required. If you want to stop the service, please use the following command:
      brew services stop mongodb/brew/mongodb-community
      (you will have to restart the service when you plan to use Mongo again)

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

    Sir I am getting error while running brew tap mongodb/brew command. It shows command not found.

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

      Do you have brew on your mac? If not you have to install brew first.

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

    thanks a lot

  • @user-qb9xr7bl4s
    @user-qb9xr7bl4s Месяц назад

    My brings
    Mongo network Error: Econnrrefused ..

  • @al-edrisy1129
    @al-edrisy1129 10 месяцев назад

    I have error it sey's when i finish everything just i have to run this error "bash: mongod: command not found"

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

      Try “mongosh”

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

    Error: No formulae or casks found for mongodb-macos-x86_64-4.4.19-rc0.
    what should i do with this error?

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

      After which command did you receive this error?

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

    is it necessary to install mongoDB shell sir?

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

      No, it’s not “necessary” to install the shell as you can write commands within the graphical user interface.
      However, some people prefer to use the shell (or more familiar with it). In addition, some specific tasks such as using PyMongo (Python code for MongoDB), using shell scripts to execute multiple commands, etc. could be easier to do with the shell.
      In short, you don’t need the shell as a beginner, but maybe as you get more experienced, you’ll find it useful.

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

      @@ProfSadat thanks you ❤️❤️

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

    i got this error: Error: mongodb-community: Failed to download resource "brotli_bottle_manifest"

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

      After which command?

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

      i solved the issue it was my internet connection. It was not stable. @@ProfSadat

  • @Aya-fx7qz
    @Aya-fx7qz Год назад

    Mine is showing. Command not found

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

    I have no idea which password do I type in brew

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

      Probably your Mac login password

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

    zsh: mongosh: command not found

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

      mongosh is not on your PATH that’s why the shell cannot find it. I recommend reinstalling mongo (easy solution) or modifying the PATH (could be difficult for new Unix users)

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

    Thanks a lot means a lot sir this video helped me ❤
    show dbs
    thank you 12.00 KiB
    mr 32.00 KiB
    Professor Sadat. 14.00 KiB

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

      I appreciate your feedback, thanks.

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

    just in case someone is struggling with this error
    ==> Downloading and installing Homebrew...
    HEAD is now at 2d0c32fa9 Merge pull request #13837 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.16.0
    error: Not a valid ref: refs/remotes/origin/master
    fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git [...] -- [...]'
    use this "sudo rm -rf /opt/homebrew"

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

      Thanks for the troubleshooting tips!

  • @Gor0d
    @Gor0d 6 месяцев назад

    thank you very Very VERY much!!!

    • @ProfSadat
      @ProfSadat  6 месяцев назад +1

      Glad you found it useful

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

    Thanks!