How To Install MySQL on Mac OS X

Поделиться
HTML-код
  • Опубликовано: 7 авг 2017
  • In this post we will learn how to How To Install MySQL on Mac OS X. The same procedure can be used for installing MySQL on Mac OS X.
    How to add MySQL to $PATH variable:
    cd to your home folder
    $ open -t .bash_profile
    Try adding the following line to your .bash_profile file.
    export PATH=${PATH}:/usr/local/mysql/bin/
    Setting the MySQL root user password on OS X
    $ mysql -u root -p
    mysql$ ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
    ★★★Top Online Courses From ProgrammingKnowledge ★★★
    Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
    Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
    Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
    Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
    C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
    C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
    PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
    Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
    C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
    JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
    NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
    Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
    Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
    Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
    MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
    QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
    ★★★ Online Courses to learn ★★★
    Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqcm.net/r1KEj
    Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
    Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
    Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
    MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
    DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
    Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
    AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
    Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
    Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
    Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
    Kotlin Android Development Masterclass - bit.ly/2GcblsI
    Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
    ★★★ Follow ★★★
    My Website - www.codebind.com
    DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

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

  • @redaherradi3112
    @redaherradi3112 4 года назад +19

    I have spent 48 hours trying to access MySQL, this video saved me on a Sunday evening before my submission, thank you sir ! You are a real hero !! ^^

  • @riteshtripathi8626
    @riteshtripathi8626 5 лет назад +12

    I can't express my happiness after all that hustle and struggle reading through various blogs, stack overflow, friends but all in vain and that's where your video comes in. Thank you very much, this has worked wonders for me. Cheers

  • @tharlinhtet97
    @tharlinhtet97 4 года назад +5

    Really helpful video. You are the best:) Btw, anyone get response of "command not found" , type this in your terminal "export PATH=$PATH:/usr/local/mysql/bin".This command will place your MySQL to right path.

  • @monicad1441
    @monicad1441 5 лет назад +3

    THANK YOU! THANK YOU! THANK YOU!!!!!! I have gone over and over uninstalling and installing trying to figure out how to get to the my SQL server. And lo and behold I did not have that batch profile. This second I follow the steps in your video I was able to login no problem. You saved my butt. I needed to access this for school and no other video out there helped me!

  • @carrieschmid796
    @carrieschmid796 4 года назад +45

    If an error comes up saying that Apple can’t validate the package for Malicious software, or something to that effect, it means that you have a newer Mac. Close the error message. Hold down the control key while clicking on the pkg file. Select “open” from the pop-up menu.

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

      Thanks so much! I've been having this problem for the longest 😅

    • @Shivani.i14
      @Shivani.i14 3 года назад +1

      @@emmanuelamoh7181 Your comment has been so helpful. Thank you so much!

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

      BRO THANK YOU SO MUCH

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

      no joke was abt to cry , tysm

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

      Thank you so much! But is opening a file without mac scanning it for bugs alright?

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

    Thank you! I finally got MYSQL set up on my Macbook. I followed your tutorage step by step and it works on my OS High Sierra. I 'm taking a course at my job. This is what I needed.

  • @abhinavsingh8783
    @abhinavsingh8783 5 лет назад +2

    Thanks a lot!! I'd wasted an entire day just to figure out how to uninstall & re-install MySQL Server & WorkBench in Mac OS. It really helped me :)

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

    tremendously helpful! I spent almost an entire evening trying to figure out how to install mysql and to get it running. Your video really helped me a lot. Thank you!!!

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

    Thank you so much for explaining all of this so well. I watched 3-4 videos before this that did not explain the .bash_profile creation neither did they explain the procedure or use of it. You are really great!

  • @gracesanwo1876
    @gracesanwo1876 5 лет назад +8

    You are the best! i struggled with this for month now i have MySQL installed.

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

      Ive been programming moderately since college (about 5 years) and I swear getting things installed is the hardest part lol. The good news is someday you'll have a job with an IT department that does it for you.

  • @sachidanandanaik7690
    @sachidanandanaik7690 5 лет назад

    I was facing some issues with MySQL 8.0 installation on my MacBook Pro, this video resolved all the issues, Thanks a lot, you saved my day :)

  • @gleide-coelho
    @gleide-coelho 4 года назад +4

    Thank you a lot, was quite difficult to install but once I´ve found this video I totally got it! The Workbench was my salvation!

  • @machun01
    @machun01 5 лет назад

    Dude, you are a legend. I set up a new computer and didn't have the bash file, which I didn't see. You saved a lot of nerves. Thank you very much.

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

    you're an absolute life-saver! although I didn't understand the whole process with the terminal...(using a newer version of Mac) but finally understood why I failed to find the MySQL application on my mac after installing it for 3+ times on my computer ---> it was cuz I had no clue that I needed to install a workbench!!! (was watching misleading videos where Windows users breezed through the whole process...) thank you so much for the detailed explanation!

  • @mikediaz4365
    @mikediaz4365 5 лет назад

    As my first comment ever on RUclips, THANK YOU VERY MUCH!!!! Something that FINALLY works! Keep it up!

  • @cotedazure
    @cotedazure 5 лет назад +2

    Thanks, perfect tutorial for those using MySQL on Mac for the first time.

  • @glebkalachev
    @glebkalachev 5 лет назад

    THANK YOU SOOOO MUCH! Beginning of learning mysql is sooooo difficult, but you helped me out and solve all my problems. Thank you very much!

  • @rosannaperillo571
    @rosannaperillo571 4 года назад +2

    I've been trying to install SQL for so long! Thank you!!!

  • @penguinstravel2022
    @penguinstravel2022 5 лет назад

    Thank you very much, have been searching for the way to operate mysql in mac for an hour until reaching your video!! That's help a lot

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

    I would definitely suggest his videos to all my friends. This is such an excellent explanation about installing SQL and run it.

  • @stevelannist156
    @stevelannist156 4 года назад +1

    THANK YOU.Installing MySQL from Brew was so messy and buggy. It helps me a lot

  • @ethanvaughn1057
    @ethanvaughn1057 6 лет назад

    Great video! My first go around of installing MySQL Community Server and WorkBench was unsuccessful but this video was super helpful. Awesome work, thank you!

  • @shreyasjv4877
    @shreyasjv4877 4 года назад

    This tutorial helped so well! I downloaded the latest version and it still worked smooth as a cake. Though for some reason I had to use *touch* even though .bash_profile even though I could see bash_profile. Weird.
    But as I used picture in picture and followed all instructions side by side, it worked so darn well!
    Props to you @ProgrammingKnowledge!

  • @bar5um
    @bar5um 4 года назад

    THANK YOU. Installing MySQL from Brew was so messy and buggy. Now I can finally use MySQL 5.7

  • @SkyMedrans
    @SkyMedrans 4 года назад +4

    Thank you so much for making this tutorial, it is still extremely helpful. Just, I would like to give you a suggestion. The new version asks for choosing between using a strong password encryption or a legacy password encryption. Using the second option, you are able to choose the password and you don't need to change it later. So, it is not necessary to use the terminal for anything.

  • @VisenyaTargaryen1
    @VisenyaTargaryen1 4 года назад

    Thank you. In my case everything had gone wrong-- from no disk permissions( its my computer only and i wasnt able to add myself? Had to sudo it) to not having a bash profile ( last time I hd a new computer was ages ago and forgot all the setup and brew ordeals). This cleared up a lot and took into account different usage cases-- awesome!

  • @bolosarthak
    @bolosarthak 6 лет назад +2

    You explained so beautifully! Much needed info. Thanks a lot!

  • @shantaeb2002
    @shantaeb2002 6 лет назад +2

    Thank you soOooOooOOooo MUCH!! Extremely helpful, detailed, and easy to follow! Very much appreciated!

  • @dantewhite9573
    @dantewhite9573 5 лет назад

    thank you so much this is my best, I have 3 books on sql and none of them go over the install process and i had a hard time finding a video.

  • @pedrov8868
    @pedrov8868 4 года назад

    between you and your comments section i got this done. what a saviourrrrr a true heroooo

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

    Thank you so much for your help, I was facing a lot of problems for my Mac os high Sierra. but following you line by line, I successfully installed it. Thanks again!

  • @anilverma5822
    @anilverma5822 5 лет назад

    I was new at Mac OS and you helped me lot in order to configured these stuffs, thanks

  • @user-sp4fb3lb2b
    @user-sp4fb3lb2b 6 лет назад

    Firs time installing this. Thank you for these instructions, very easy to understand great video

  • @niazkhan9338
    @niazkhan9338 5 лет назад

    Good stuff, nice thorough walkthrough for installing mysql and its tools on the Mac.

  • @DhondupFilm
    @DhondupFilm 4 года назад

    three days of finding the solution had been finally blessed..thank you sir...

  • @TheBossTheHartz
    @TheBossTheHartz 5 лет назад

    Thanks very mutch for this vid. I've tried many, but this is the first one who did the job. Thnx

  • @contumacysgwy
    @contumacysgwy 6 лет назад

    Thanks for sharing this MySQL installation guide, much appreciated!

  • @zoezhang3411
    @zoezhang3411 6 лет назад

    Best video for My SQL installation ever!! Thanks a lot!

  • @camilla1708
    @camilla1708 6 лет назад +2

    I rarely comment, but this was a great tutorial! THANKS!

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

    Thank you so much you saved my entire day "mysql not found", I know it takes lots of effort on searching GitHub and Stack overflow, love you man and thank you so much again.

  • @agatapleban9894
    @agatapleban9894 5 лет назад +2

    This tutorial is extrealmy helpful, than you sooo much!!!

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

    Indians are the most talented. I skipped your video seeing that it's gonna consume 20 minutes and instead I watched a 6 minutes useless video and got stuck while connecting to the server from the terminal. His command itself was wrong. Ended up wasted 1.5 hours in total for a job which can be done in 15 minutes.
    Loved it, keep up the good work, keep coding!!

  • @RickGtr271
    @RickGtr271 6 лет назад

    Although the installation process is different at present date, this is a really good video. I was given the option to give a password for root at installation without temporary password given.

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

    I'm writing an IOS phone app using XCode on my Mac for my Capstone project. This video was hugely helpful, thank you.

  • @ilovemalware561
    @ilovemalware561 6 лет назад +1

    Thank you so much- exactly what I was looking for!

  • @VictorVFLOYDFloyd
    @VictorVFLOYDFloyd 5 лет назад

    Thanks for this video. Transparent. Straight to the point.

  • @BriansModelTrains
    @BriansModelTrains 5 лет назад

    Works great - thanks. Newer version asks user to set up a password during install. Great work on setting up the .bash_profile step.

  • @user-qf7mf6ly6g
    @user-qf7mf6ly6g 4 года назад

    Such a detailed illustration!! Thank you very much!!

  • @ztdar75
    @ztdar75 6 лет назад

    .thank you so much , i was having trouble with connection , and now you solve it
    you save my life, thanks again

  • @C00kieSandwiches
    @C00kieSandwiches 5 лет назад

    Worked perfectly for me. Thank you for the tutorial!

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

    The BEST tutorial! Worked like a charm!! Thx!

  • @hanialnami739
    @hanialnami739 6 лет назад

    Great, I follow you step by step and everything work fine. Thank you.

  • @bibbitybox
    @bibbitybox 5 лет назад +1

    Thank you for making this video! It was very accurate!

  • @toddbrannon6262
    @toddbrannon6262 6 лет назад

    Great video tutorial. Thanks for posting this!! Super helpful!

  • @tanvipunjani7096
    @tanvipunjani7096 5 лет назад

    Awesome step by step tutorial !! Thank you buddy

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

    Thank you so much! I tried with the latest version there was a couple of minor differences put this helped so much.

  • @zahrayarmand1652
    @zahrayarmand1652 5 лет назад

    Thank you for creating this video. it was very helpful.

  • @eljumad
    @eljumad 6 лет назад

    Fabulous tutorial. Many thanks - it helped me out immensely.

  • @ojuliomiguel
    @ojuliomiguel 6 лет назад

    This video helped a lot!
    Thank you!
    From Brazil!

  • @harshmisra8829
    @harshmisra8829 6 лет назад

    Great Work Man!! Thanks for helping me out on this!

  • @Roboticdock
    @Roboticdock 5 лет назад

    This is an exemplary educational video! very clear! Brilliant!

  • @iKaeru
    @iKaeru 6 лет назад

    Helped me SOOO MUCH! Thanks, helpful a lot!

  • @ire8512
    @ire8512 4 года назад +1

    Best tutorial by faaar. Thank you!

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

    Thanks a lot brother works flawlessly after seeing your steps

  • @sida9908
    @sida9908 5 лет назад

    thank you so much man. it worked
    I only got stock at the point that i needed to start mysql with the commnad "mysql -u root -p" i was getting an error (maybe someone else has it here) but the problem was i am using the zsh and it i needed to add a piece of code to the zsh source file and then everything got ok
    thanks again

  • @gabrielcassinelli8452
    @gabrielcassinelli8452 5 лет назад

    Thank you very much for your crystal clear explanation!!!

  • @most_unwanted_316i
    @most_unwanted_316i 6 лет назад

    Best tutorial so far period !!!

  • @acolbeck6615
    @acolbeck6615 4 года назад

    Thanks for this. it was a great help and worked perfectly (when I actually followed your instructions :-) )

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

    This video is very great!! the step by step!! Good job!

  • @Yan-rv8mi
    @Yan-rv8mi 6 лет назад

    It is overall a good tutorial! For someone who thinks he is speaking too slow, just change the speed of this video and it feels much better!

  • @swatiprasad82
    @swatiprasad82 6 лет назад

    Thanks for this tutorial. Its working beautifully.

  • @zachhamelinck1782
    @zachhamelinck1782 6 лет назад +2

    I get through every step but when I get into the work bench nothing will load. I do have SQL running correctly. I get an error that I cannot connect to database server. Your connection attempt failed from user 'root' from your host to server at localhost:3306:
    Any thoughts?

  • @johannesschneemann9960
    @johannesschneemann9960 5 лет назад

    Thank you for this video. It helped so much!

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

    CRAZY EXPLANATION! U SAFE MY LIFE BRO! GREAT!

  • @drama.sreerama
    @drama.sreerama 5 лет назад

    fantastic straight forward video ! thank you !

  • @anandchiluka7611
    @anandchiluka7611 4 года назад

    Thank you very much. This video helped me to setup MySQL

  • @yili6758
    @yili6758 6 лет назад

    Thank you sooooooooooooo much!!! It's so great to have this amazing video!!!

  • @RuRoom
    @RuRoom 5 лет назад +1

    You're a GENIUS! Thank you so much :)

  • @TheAmbrosium
    @TheAmbrosium 4 года назад

    Huge thanks for detailed explanation!

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

    Thanks a lot for this video ! It's very complete and it works perfectely.

  • @ashleysharp6474
    @ashleysharp6474 6 лет назад

    Thank you, fantastic video! So helpful!

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

    Thank you so very much.... It really helped me after long suffering... thanks once again

  • @aarons.8129
    @aarons.8129 5 лет назад

    After installing MySQL do we need to do the terminal commands? Or can we just use workbench instead?

  • @pradeepp1485
    @pradeepp1485 4 года назад

    Good video, Nice Explanation. All the best

  • @mariafernandafiscal137
    @mariafernandafiscal137 4 года назад +1

    this tutorial really helps!!! Thank you

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

    Great tutorial, helped so much. Thank you!

  • @sadiafarzana3732
    @sadiafarzana3732 4 года назад

    great video !! thanks mate from Sydney

  • @Changsnl9
    @Changsnl9 5 лет назад

    you saved my life and my mental sanity. thanks!

  • @pamelacrowe8675
    @pamelacrowe8675 6 лет назад

    Thank you so SO much, Mr. Patel!

  • @peterwafula3923
    @peterwafula3923 4 года назад

    Thank you so much it worked well. Keep doing the good work!!

  • @turokII
    @turokII 6 лет назад

    This was very helpful, thanks!

  • @vivianlim9579
    @vivianlim9579 6 лет назад

    Very Helpful. Thank you so much!

  • @McM3rry
    @McM3rry 5 лет назад

    Thank you very much, very good explained. Thumbs up!

  • @visrayman
    @visrayman 6 лет назад

    This works man.. That's cool, thanks for your guidance

  • @only_polaroid
    @only_polaroid 4 года назад

    THANK YOU SO MUCH, FINALLY I CAN ACCESS MY DATABASE FROM *NODEJS*

  • @apiyadahirio7431
    @apiyadahirio7431 6 лет назад

    GREAT ! very clear explanations!

  • @indhiramehalingam7648
    @indhiramehalingam7648 4 года назад

    Thank you very much, this video was very helpful to me.

  • @fabio_mba
    @fabio_mba 6 лет назад

    You saved me twice! lol
    Thank you so much!!

  • @kshiteeshsn263
    @kshiteeshsn263 5 лет назад

    Thank you! this was really helpful!

  • @cineverseproductions
    @cineverseproductions 4 года назад

    Thanks, buddy. It worked like a charm.