How to Install MySQL on Mac | Install MySQL on macOS (2024)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Link to How to Install XCode on Mac | Install XCode on macOS (M1, M2, M3, MacBook Pro, MacBook Air)
    • How to Install XCode o...
    🚀 *Database Mastery: Installing MySQL on macOS for Efficient Data Management! 🍏💽*
    Ready to dive into the world of databases on your Mac? Enroll in our Udemy course, "How to Install MySQL on Mac | Install MySQL on macOS," and explore the seamless integration of MySQL, a powerful and widely-used relational database management system.
    🌟 *Course Highlights:*
    - 🖥️ *Step-by-Step Installation:* Follow a comprehensive guide to effortlessly install MySQL on your Mac.
    - 🌐 *Optimizing for macOS:* Learn macOS-specific configurations and optimizations for an enhanced MySQL experience.
    - 📥 *Download and Setup:* Master the art of downloading and setting up MySQL for efficient data management on your macOS system.
    - 💡 *Effective Database Administration:* Explore tips for organizing your MySQL databases and managing them with precision.
    - 🛠️ *Troubleshooting Expertise:* Discover solutions to common MySQL installation issues on macOS.
    🎓 *What You'll Learn:*
    - *MySQL Installation:* Walk through the complete process of installing MySQL on your Mac, ensuring compatibility with your database management needs.
    - *Configuration on macOS:* Explore macOS-specific settings and configurations to optimize your MySQL environment.
    - *Database Creation and Management:* Learn how to create, organize, and manage databases within MySQL, maximizing efficiency for your data-driven projects.
    - *Security Best Practices:* Dive into securing your MySQL installation and implementing best practices for data protection.
    🌐 *Who Is This Course For?*
    - *Developers and Programmers:* Individuals eager to harness the power of MySQL for efficient data management on their Mac.
    - *MacOS Enthusiasts:* Those who want to explore MySQL for database projects on macOS.
    - *Students and Beginners:* Aspiring database administrators and developers looking to learn and master MySQL for their projects.
    🔗 *Requirements:*
    - A Mac computer running macOS.
    - Basic understanding of databases and SQL concepts (recommended).
    🚀 *Master the art of database management! Enroll now and unlock the full potential of MySQL on your Mac. Your data-driven projects are about to get even more exciting!* 🍏💽
    🖥️ *Hashtags:*
    #MySQL #MacOS #Mac #macbook #macbookpro #macbookair #MacOSDevelopment #TechCourse #DatabaseManagement #MySQLOnMac #UdemyCourse #LearnToCode #TechSkills #DatabaseAdministration #CodingOnMac #DeveloperEducation #DigitalLearning #DatabaseTips

ความคิดเห็น • 496

  • @budsbunny8813
    @budsbunny8813 5 หลายเดือนก่อน +19

    I''ve been trying to install SQL in my MacBook for a couple weeks now... I've watched a lot of youtube tutorials but always get a blocker when installing since the tutorial was a short-cut version... I can't thank you enough for this video for being so detailed and comprehensive🥰

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      ello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

    • @souravmukherjee3416
      @souravmukherjee3416 20 วันที่ผ่านมา

      I totally agree with you ! This video has been really helpful. I am new on Mac and was unable to use the mysql although it was installed. Thanks to lot to this guy for making such a succinct video ! :) Kudos.

  • @ramble13
    @ramble13 2 หลายเดือนก่อน +5

    Thank you!! This video helped me a lot. Just want to add that at 12:04 if you are receiving an "Lost connection to MySQL server at 'reading initial communication packet', system error: 102" after typing in your password, you might have to go back into the terminal and enter the command sudo /usr/local/mysql/support-files/mysql.server start . This should resolve the error.

    • @amitsingh-jb5jb
      @amitsingh-jb5jb 2 หลายเดือนก่อน

      thanks a lot!!

    • @carlosvaldivia2661
      @carlosvaldivia2661 2 หลายเดือนก่อน

      Thank you so much for this. I searched hours for the solution and this was it!!

  • @utsavshroff4381
    @utsavshroff4381 5 หลายเดือนก่อน +12

    FINALLY A GOOD TUTORIAL THAT ACTUALLY WORKS
    Was trying to download sql for over a week and it only was completed after this video.
    Thank You ❤

  • @potato-sweet
    @potato-sweet 4 หลายเดือนก่อน +26

    Just a note that at 1:13, the type of mac os you have will depend on which installer you download! I initially downloaded 8.4.0 as it was the latest version, but my mysql instance would keep flashing on and off and I had no clue why. I found a QnA page which mentioned that if you have Monterey, you should download 8.0.34 which is in the archives. I now have Sonoma and it has worked amazingly for me

    • @AsheryWilly
      @AsheryWilly 3 หลายเดือนก่อน +2

      I'm experiencing the same problem rn, thanks for the tip

    • @AsheryWilly
      @AsheryWilly 3 หลายเดือนก่อน

      I do have macOS Ventura, what version should i download?

    • @karinasosa-wf8dh
      @karinasosa-wf8dh 3 หลายเดือนก่อน

      thank you

    • @nipurndusad4136
      @nipurndusad4136 3 หลายเดือนก่อน

      I downloaded 8.0.34 but it still says you need os 13 or above.

    • @rockinrandalf
      @rockinrandalf 3 หลายเดือนก่อน

      @@AsheryWilly Try 8-0-34, it worked for me.

  • @aaditjain9872
    @aaditjain9872 8 วันที่ผ่านมา +1

    Seriously good explanation...downloaded SQL on the first attempt😊😊

  • @LauraRighiBoemo
    @LauraRighiBoemo 2 หลายเดือนก่อน +3

    this guy explains as i was stupid and that is exactly what i need.

  • @SupravLalKarmacharya
    @SupravLalKarmacharya 6 หลายเดือนก่อน +18

    Can not thank you enough. what a relief! downloading mysql shell/ command line in mac is pain in the arse

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      ello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @timmears2300
    @timmears2300 2 หลายเดือนก่อน

    I spent almost half a day trying to figure out why MySQL wouldn't run on my Mac until I came across this video. Thanks so much for the clear walk through.

  • @jimvanzile
    @jimvanzile 17 วันที่ผ่านมา

    I have to agree with many others that this was a well-done tutorial on installing MySQL on a Mac. Much appreciated!

  • @nneomanataliewosu7369
    @nneomanataliewosu7369 13 ชั่วโมงที่ผ่านมา

    Thank you so much for this video..i got everything right! this is incredible!

  • @mr.randomclick.
    @mr.randomclick. 7 วันที่ผ่านมา

    thank you for helping keep it up bro with your bright knowledge.

  • @aruchan9890
    @aruchan9890 วันที่ผ่านมา

    this is a life saver! thank you so much!

  • @Bee_zear
    @Bee_zear 18 วันที่ผ่านมา

    Thank you very much. This video was very detailed and very helpful😢❤❤
    Much love from Nigeria 🇳🇬

  • @charlettibauman18
    @charlettibauman18 หลายเดือนก่อน

    WOW is all I have to say!!!!! I REALLY appreciate this compressive video. I have had an extremely hard time getting this loaded on my Mac. thank you❤😍❤😍❤

  • @GregoryBrown-j2g
    @GregoryBrown-j2g หลายเดือนก่อน

    I too spent 2 days trying to figure out sql lol but This video was so straightforward and very effective

  • @b8133
    @b8133 6 วันที่ผ่านมา

    Thank you so much for this, I would have never figured it out without this video! Can you add an ODBC connector from the mysql workbench?

  • @rexcloveracain4202
    @rexcloveracain4202 20 วันที่ผ่านมา

    Thank you so much. Instructions are easy to understand even for first time Mac OS users!

  • @testfarida
    @testfarida 5 หลายเดือนก่อน +1

    Big thanks) i repeated everything and had no any problems with installation

  • @Harsh-fv2kg
    @Harsh-fv2kg 4 หลายเดือนก่อน +1

    Straight forward and smooth video, I have ever seen for MySQL installation. Thanks a lot!

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      ello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @WICKEDCARTOONS
    @WICKEDCARTOONS 5 วันที่ผ่านมา

    WOW!!! Thanks, I was about to have an aneurysm until I watched your vid!!!!!

  • @Aryansingh-x7m
    @Aryansingh-x7m 26 วันที่ผ่านมา

    Thank you a lot brother! I was stuck for days but your tutorial helped me a lot.

  • @tharakamaduwantha
    @tharakamaduwantha 17 วันที่ผ่านมา

    I believe, you make whole mac beginners life better. Thank you so much 😍

  • @parikshitsingh5735
    @parikshitsingh5735 13 วันที่ผ่านมา

    amazing video, detail setup provided

  • @deewura
    @deewura 7 วันที่ผ่านมา

    Thank you. Worked perfectly.

  • @user-kq3tc5tu1c
    @user-kq3tc5tu1c 3 หลายเดือนก่อน +1

    Thank You! 😎
    I've been struggling to get the most recent version of MySql (8.4.0 I think...) to work on my M1 Pro, MacBook Pro with macOS Sonoma version 14.4.1 installed. NO JOY! That is until I went back to the MySql version used in this video (i.e. 8.2.0). Just to be sure, I also installed the older version of MySql Workbench depicted in this video. Everything works as well on my Mbp as it did on the video. Strictly speaking, since I am in "learning mode", I don't have to have the most recent apps to accomplish expanding my knowledge of MySql. This will work and I am HAPPY! I really appreciate the time and effort the voice of "Programming Knowledge" put into creating this content. Cheers and I hope everyone is having a safe and enjoyable weekend wherever you are. Cheers!
    ~BB~

    • @kashayareid
      @kashayareid 2 หลายเดือนก่อน

      same thing happened to me. thanks for the tip

  • @nuzhathfatima4098
    @nuzhathfatima4098 9 วันที่ผ่านมา

    Thnak u so much.. was VERY helpful

  • @QlifeXL
    @QlifeXL 5 หลายเดือนก่อน +2

    Thank you! I was completely lost before finding your video!

  • @Londonmanish
    @Londonmanish 2 หลายเดือนก่อน

    I would to say thanks so much to upload this video, I was literally stuck and no where to start but coz of this video I manage to sort it out. Once again thanks for the video 👍

  • @willhunt370
    @willhunt370 17 วันที่ผ่านมา

    Thank you so much for posting this video - you are an excellent teacher!

  • @vinothkumar-cv9xo
    @vinothkumar-cv9xo 12 วันที่ผ่านมา

    Thank you for the detailed information. This is very helpful.

  • @DharanKetha
    @DharanKetha 18 วันที่ผ่านมา

    Thanks man it worked ! you really saved my macbook air money thought of purchasing windows lol

  • @sakshamnanda7856
    @sakshamnanda7856 7 วันที่ผ่านมา

    Reallyy Helpful TYSM!

  • @arb009
    @arb009 3 หลายเดือนก่อน +4

    hi @programming knowledge, I have an M3 MacBook Pro, I followed every step and it didn't work.
    I discovered my Active and installed instances kept switching from red to green. Is there anything I can do?

  • @SankethKhatik
    @SankethKhatik 8 วันที่ผ่านมา

    hi sir i am SUSHANT THE LECTURE WAS VERY NICE AND THE EXPLANATION WAS CLEAR

  • @sakiyuki1
    @sakiyuki1 หลายเดือนก่อน

    Awesome content, I would NEVER been able to do this on my own! Gratitude...

  • @pakchirasrirueang8874
    @pakchirasrirueang8874 5 หลายเดือนก่อน +1

    Thanks! It's very helpful. I've been installed but unable to acess the server because i don't know where to set the password. your video is very nice!

  • @anakmit5494
    @anakmit5494 4 หลายเดือนก่อน

    OMG, you saved my time. After 10 hours i try to fix mysql 8.3 error

  • @heavensperspective8977
    @heavensperspective8977 4 หลายเดือนก่อน

    You're simply heaven sent for those of us with newer macbooks.
    I simply can't thank you enough for making this easy to follow video.
    Interestingly, in my case the .zshrc file was already there but the path was wrong. Once i changed it as per your instruction, it worked like a charm. Programming with Mosh needs to update his u-tube course.

  • @samg6299
    @samg6299 11 วันที่ผ่านมา

    Awesome, thank you sir!

  • @user-pf5cb3qr9o
    @user-pf5cb3qr9o 11 วันที่ผ่านมา

    Thank you so much, it worked!!!

  • @user-gl9vg9yo5x
    @user-gl9vg9yo5x 6 หลายเดือนก่อน +4

    genius, Idk what I`d do without you ty man, especially for not shown SQL in Mac terminal

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      hello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @vunhaluan
    @vunhaluan 5 หลายเดือนก่อน

    Many thanks for your works. It's hard to find other video that simple, right in the point like this. I will need days to find these Terminal command on the Internet lol

  • @HimanshuSingh-gh3yn
    @HimanshuSingh-gh3yn 6 หลายเดือนก่อน +7

    During installation it wont ask me for the password

  • @terence01jan
    @terence01jan 29 วันที่ผ่านมา

    Thank you!! This video has been very helpful.

  • @featherstoned808
    @featherstoned808 5 หลายเดือนก่อน

    Great video! Clear instructions and no snags in install. Thank you!!!

  • @i.khushii
    @i.khushii 3 หลายเดือนก่อน

    Your tutorial is the bestt !!!! Covers every type of error that may come

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      ello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @KalathilShameem
    @KalathilShameem 4 หลายเดือนก่อน

    you are a life saver after two days of struggle , iam happy

  • @bharatkuruba5594
    @bharatkuruba5594 หลายเดือนก่อน

    finally one of the best video I have ever seen and its working fine

  • @rasil9790
    @rasil9790 28 วันที่ผ่านมา

    THANK YOU !!! I HAVE BEEN TRYING FOR YEARS

  • @rishabhchaturvedi792
    @rishabhchaturvedi792 3 หลายเดือนก่อน

    thanks very much
    I was very frustrated because I could not use my work bench but thanks to you you explained very well that's why I could fix issue

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      ello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @ramya_akula
    @ramya_akula 27 วันที่ผ่านมา

    Thank you so much for the detailed video

  • @kingstonteffyroy
    @kingstonteffyroy 24 วันที่ผ่านมา

    Wonderful explanation, Thank you so much!

  • @fathimamufliha-u6p
    @fathimamufliha-u6p หลายเดือนก่อน

    THANKS A LOT... IT WORKED FOR MEE..

  • @user-vb4ob1fl9l
    @user-vb4ob1fl9l 5 หลายเดือนก่อน +3

    this video was so thorough! I learned more than how to properly install mysql (which was already not straight-forward). thank you!

    • @user-ez4sn7tq6m
      @user-ez4sn7tq6m หลายเดือนก่อน

      ello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @joebramwell8663
    @joebramwell8663 4 หลายเดือนก่อน

    this is great! so clear and easy to follow. thank you

  • @AiTech014
    @AiTech014 4 หลายเดือนก่อน

    Explanation was so detailed, Thank you

  • @archongaming413
    @archongaming413 5 หลายเดือนก่อน

    This is the best installation video I have ever seen

  • @bose6746
    @bose6746 หลายเดือนก่อน

    Clear explanation. Thank you

  • @En1gma2u
    @En1gma2u 5 หลายเดือนก่อน

    GREAT VIDEO!! EASY AND STRAIGHT TO THE POINT!! THANK YOU!!!

  • @anudeepbj1496
    @anudeepbj1496 5 หลายเดือนก่อน

    Thanks a lot.The video was very precise throughout!

  • @user-ez4sn7tq6m
    @user-ez4sn7tq6m หลายเดือนก่อน +1

    hello when i opened the ,zshrc folder, there were some stuff already there. am I to remove it before putting this new code or what? because it doesn't work when i just add it under the other codes

  • @sson6926
    @sson6926 10 วันที่ผ่านมา

    What a GOAT!!! Thank you so much for this tutorial

  • @amarrachayita8655
    @amarrachayita8655 4 หลายเดือนก่อน

    It's really helpful I installed MySQL successfully 😊

  • @user-yd8no9ke4s
    @user-yd8no9ke4s หลายเดือนก่อน

    Well explained..! Thank you so much..!

  • @NaaIrisK.Mensah
    @NaaIrisK.Mensah หลายเดือนก่อน

    Thank you. Your video was very helpful

  • @tanujasharma1262
    @tanujasharma1262 16 วันที่ผ่านมา

    Your voice is so smoothing

  • @yangwang6754
    @yangwang6754 3 หลายเดือนก่อน

    Thank you so much. It's so in detail!!!

  • @connectdots
    @connectdots 5 หลายเดือนก่อน +1

    Just FYI on for MacOS Arm64 workbench 8.0.36 is broken but 8.0.34 works fine.

  • @trangminh9266
    @trangminh9266 3 หลายเดือนก่อน

    FINALLY, SO GRATEFUL FOR THIS. Thanh you so much!

  • @user-bd6pt1ys9w
    @user-bd6pt1ys9w 3 หลายเดือนก่อน +3

    I am getting this error after using mysql -u root -p command and entering the password : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    Can you help ?

    • @brunaalessia4539
      @brunaalessia4539 3 หลายเดือนก่อน +1

      Same here, following hoping someone can help 🤞🏻

  • @karthickmohankumar4025
    @karthickmohankumar4025 6 หลายเดือนก่อน +1

    Thank you so much, It's really helpful pal.

  • @NIKESHSAHOO-qc6ll
    @NIKESHSAHOO-qc6ll หลายเดือนก่อน

    It’s really an amazing video ..
    working perfectly🎉🎉🎉

  • @rahulrajjj
    @rahulrajjj 5 หลายเดือนก่อน

    Kudos to you. This was supereasy. Thank a ton!

  • @trevor_6620
    @trevor_6620 2 หลายเดือนก่อน

    Extremely helpful, thank you

  • @akashmewada2496
    @akashmewada2496 5 หลายเดือนก่อน

    Your video is very helpful. Thank you man.

  • @ShermukhammadKarimov
    @ShermukhammadKarimov 2 หลายเดือนก่อน

    thanks for the clear explanation

  • @user-pv4bb2ib8m
    @user-pv4bb2ib8m 6 หลายเดือนก่อน +1

    great, in-depth explanation

  • @sumihassan6
    @sumihassan6 6 หลายเดือนก่อน +1

    Super useful, thank you sooo much!

  • @godsmanpodcast
    @godsmanpodcast หลายเดือนก่อน

    Thank you, such a great video and very clear.

  • @thehalise
    @thehalise 5 หลายเดือนก่อน

    Thank you for the video, it was easy to install with your explanations.

  • @YanaBaker-tj6ji
    @YanaBaker-tj6ji 5 หลายเดือนก่อน

    great video, really informative! thank you, keep up the good work!

  • @dev77cmd
    @dev77cmd 6 หลายเดือนก่อน

    Thanks for the clear instructions. Installed it and immediately uninstalled it. Going to stick with MS Access which I have in Parallels.

  • @Kipitreel_
    @Kipitreel_ 4 หลายเดือนก่อน

    Nicely explained it worked perfectly 😊😊

  • @aramidetoks5306
    @aramidetoks5306 หลายเดือนก่อน

    worked perfectly. Thank you

  • @R_SinghRajput
    @R_SinghRajput 7 หลายเดือนก่อน +1

    worked like a charm , tysm bro

  • @MdShahzadAlam-z3v
    @MdShahzadAlam-z3v หลายเดือนก่อน

    very helpful video , thank you for this

  • @Amanatxo
    @Amanatxo 3 หลายเดือนก่อน +2

    Hi, everything goes well until I write source .zshrc it starts giving me the same error as command not found. I’m not sure what is happening.

    • @TheAbhinavPal
      @TheAbhinavPal 2 หลายเดือนก่อน

      Is it resolved. Can you help us

  • @sl4ught3r94
    @sl4ught3r94 หลายเดือนก่อน

    Informative. Thank you.

  • @internetgirl3099
    @internetgirl3099 6 หลายเดือนก่อน +2

    Thank you!! Since I unchecked "Auto start MySQL when I restart the laptop" How do I turn on MySQL next type? Is it the mysql -u root -p in terminal?

  • @devtommie114
    @devtommie114 หลายเดือนก่อน

    Thank you so much!

  • @varunsingh9432
    @varunsingh9432 4 หลายเดือนก่อน

    Thank you for this amazing tutorial

  • @desilvakts2071
    @desilvakts2071 4 หลายเดือนก่อน

    with a small hiccup I managed to install all thanks

  • @tianbowen721
    @tianbowen721 5 หลายเดือนก่อน

    Thank you so so much :) ! This Tutorial works for me !

  • @gavadesandip81
    @gavadesandip81 26 วันที่ผ่านมา

    Thanks it helped .

  • @kishorebarath7397
    @kishorebarath7397 26 วันที่ผ่านมา

    bro, thanks for the video and that skipped my brain storm activity!!

  • @trmasterification
    @trmasterification หลายเดือนก่อน

    I did this install on two different Macs and at first it wouldn't accept my password to connect to the MySQL community server. On each device once I selected "initialize database" in my system settings it accepted my password no problem. Thanks for the help!

  • @linhinh6701
    @linhinh6701 7 หลายเดือนก่อน +1

    it worked very well, thanks bro

  • @maheshch994
    @maheshch994 หลายเดือนก่อน

    Thankyou buddy ❤

  • @DeepakKumarSingh-kd8kg
    @DeepakKumarSingh-kd8kg 6 หลายเดือนก่อน +2

    hi mysql is not working
    my version is 8.3.0
    some time it show its runnig and some time it shows closed

  • @eugeniaportillo9348
    @eugeniaportillo9348 4 หลายเดือนก่อน +3

    I keep getting this error: "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" does anyone know how to fix it?

    • @riya2729.
      @riya2729. 3 หลายเดือนก่อน

      Me too

    • @user-hj4ec7bg9z
      @user-hj4ec7bg9z 3 หลายเดือนก่อน +3

      1. Open a terminal
      2. Type "sudo /usr/local/mysql-8.4.0-macos14-arm64/support-files/mysql.server start"
      3. Check connection with mysql -u root -p
      I was able to start MySQL using this method.

    • @kallarakshana988
      @kallarakshana988 2 หลายเดือนก่อน

      ​@@user-hj4ec7bg9zThankyou for such a wonderful contribution 😊