How to Install MySQL 8.0.30 on MAC OS M1/M2

Поделиться
HTML-код
  • Опубликовано: 28 сен 2022
  • In this Video, We're going to see How We Can Download & install MySQL 8 on MAC OS M1/M2 Machines.
    To Download the MySQL Installer URL - dev.mysql.com/downloads/mysql/
    MySQL Default Installation Location - /usr/local/mysql-8.0.30-macos12-arm64/bin
    Terminal Commands -
    Check Shell Installed on Machine - echo $SHELL
    Create Bash_Profile/ZSH ENV File - touch .bash_profile/touch .zshenv (Create Shell Depending upon Default Shell on your Machine)
    Open Bash File - vi .bash_profile/vi .zshenv
    Export Command for MySQL - export PATH=${PATH}:/usr/local/mysql-8.0.30-macos12-arm64/bin
    MySQL Commands -
    First We Need to Open the Terminal and Write MySQL Command - mysql -u root -p
    Command to Check Databases - show databases;
    SQL Command to Create Database - create database database_name;
    Use Specific Database - use database_name;
    #mysql #sqlserver #sql

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

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

    So Clean and Simple. This should be everyone's go to! Thank you.

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

    Thank you very much for this Very Clean and Clear Tutorial, very useful for Beginners. I was Struggling Earlier and While watching your video, and Step by Step able to Configure in ZShell and Run Mysql.

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

    So clean and simple best tutorial ever

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

    Thanks for explaining zsh and bash.

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

    Great tutorial -- thank you!

  • @DivyanshuAgarwal-yg6dr
    @DivyanshuAgarwal-yg6dr Год назад +1

    Thank you it helped me a lot!

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

    highly recommended video for mac m1

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

    very informative. Thank you

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

    Thank you so much its working

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

    Thank You so much for Answering and Explaining All of this so well. I Watched Multiple Tutorials and Videos for MacOS, where I was unable to found the Config for ZShell and Creation, And About Apple M2 Installation

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

    Hi Prashant thanks a lot it's working ❤❤

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

    It works for me thank you so much

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

    Thank you. It worked.

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

    Informative 👍

  • @ParthShah-wy1qe
    @ParthShah-wy1qe Год назад +1

    Great simple and works for me !

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

    thank you so much its so so helpful👍

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

    thankyou somuch

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

    thank you so much .

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

    It works! thank you so much!

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

    thanks bro 🗿

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

    nice bro❤

  • @AA-hw4iv
    @AA-hw4iv Год назад

    Thanks!

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

    Nice 👍

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

    working!

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

    Hi bro
    Video is amazing
    May you please help me in last password step in terminal page
    I am not able to get which password should I write?
    Please reply my course is running

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

      MySQL password which was set earlier during setup needs to be enter in terminal, while logging into MySQL

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

    Bhaiya a very very thanku for this greatful video. I tried this for last 3 months daily but i can't do that i seen all youtube videos but it cant but after your 10 min video i will very very very happy bhaiya ...❤❤

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

      Bhaiya ek baat or bata dijiye . Mae bca kr rha hu mera java mae minor project h to mae java ko ab mysql sae kaisae connect kru? I am using VS code for java. Please help bhaiya. Meri 13 ko presentation h university mae. Please help if you want i will do screen sharing and all. Otherwise Please suggest any video kyoki koi bta rha tha ki kuch shell jarfile drivers setup krnae padhte h. Plz help bhaiya🥺🥺

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

      @@akshatsinghal2479 You want to Connect your Core Java Project with Database, or Your Java with Spring Project with Databas(MySQL)

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

      @@prashantrana546 corejava bhaiya

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

      @@prashantrana546 maenae hospital management system banaya h.

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

      @@akshatsinghal2479 Fine I will be Uploading a Video Tutorial on How to Connect MySQL Database with Core Java Application. Stay Tuned to the Channel Thanks!

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

    Will Mac mini m2 pro 16gb be good?
    Please let me know

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

    Bro when i am entering any command on my terminal its showing "no such job"....what should i do now?...please help

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

      Any Command, have you configured you bash/zsh scripts properly. And can you paste the complete error.

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

    Hello bro!
    I have done the procedure till 8:17 in this video but after that i have got zsh:command not found: mysql!
    I am unable to install can you please help?

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

      I have also added the zshenv

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

      @@abdulmuqeeth8376 Pls exit the Terminal after adding the path in zshenv file. I am also creating 1 Video for the Same, as many users face this issue while doing mysql installation in macos.

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

      just use shift with ":"

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

    after installing mysql and after the close installer command. I can't see mysql in the finder. I did it two times and both times it happened the same. Kindly help.

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

      Fine, are you able to see the Installed MySQL Folder in the Finder Directory mentioned in the Video Desc. If yes, then MySQL has been installed and you need to go to the Preferences to see the MySQL

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

      @@prashantrana546 yea! apparently the server works and can find it in the system prefrences. Thanks for the help. But don't know why it doesn't appears in the applications section and we need to manually go inside the sys. preferences.

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

    System preferences is showing in my system, please suggest if any one can.

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

      Use Cmd+Spacebar - Then type System Settings, Open it at the end MySQL would be there.

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

      @@prashantrana546 working thanks

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

    Works for m2 air

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

      Yes Definitively works with M2 Air/Pro, Follow Steps and Configure Path in Shell

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

      its not working for me!

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

    Bro terminal is not coming

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

      Try using the command CMD + Spacebar, If still the issue comes let me know

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

    mysql is not starting in system preferences

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

      Have you Installed Properly, If yes then at the end of System Settings it will be displayed. Or you can restart you system to again reverify.

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

      @@prashantrana546 I get the icon on my system settings but it is not starting

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

      @@hritikashah3956 After clicking on Start Mysql button, are you getting any error, or on terminal its not opening.

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

    command not found

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

      Which command are you talking abt, Can you be more specific

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

    How to open...in 5:25

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

      Use vi or vim Command.
      Commands vi .bash_profile/vim .bash_profile. If files aren't created then also you can use these Commands.

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

    zsh: command not found: is nena@tati-MacBook-pro ~%
    it saying like that how i can head to next step

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

      have you created zshenv file in your macos. If not pls create that

  • @muhammadrizqi4448
    @muhammadrizqi4448 9 месяцев назад

    "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    I am experiencing something like the above"

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

    It worked, Thanks