How to Install MySQL 8.0.30 on MAC OS M1/M2

  Рет қаралды 18,980

Prashant Rana

Prashant Rana

Жыл бұрын

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 Жыл бұрын
So Clean and Simple. This should be everyone's go to! Thank you.
@lin99nn
@lin99nn Жыл бұрын
Thanks for explaining zsh and bash.
@mohitjain3670
@mohitjain3670 Жыл бұрын
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 Жыл бұрын
So clean and simple best tutorial ever
@aggarwalsachin4854
@aggarwalsachin4854 Жыл бұрын
highly recommended video for mac m1
@davehaskins3865
@davehaskins3865 Жыл бұрын
Great tutorial -- thank you!
@DivyanshuAgarwal-yg6dr
@DivyanshuAgarwal-yg6dr Жыл бұрын
Thank you it helped me a lot!
@pallaviguptasusetprofessor2914
@pallaviguptasusetprofessor2914 Жыл бұрын
very informative. Thank you
@robertgraphics2403
@robertgraphics2403 Жыл бұрын
Thank you so much its working
@user-hy2er6bv8w
@user-hy2er6bv8w Жыл бұрын
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
@prashantrana546
@prashantrana546 Жыл бұрын
Glad it helped!
@manavvlogs7337
@manavvlogs7337 Жыл бұрын
Hi Prashant thanks a lot it's working ❤❤
@aniketgavandar5171
@aniketgavandar5171 Жыл бұрын
Thank you. It worked.
@nishantbhateja3030
@nishantbhateja3030 Жыл бұрын
It works for me thank you so much
@iamankitpuri
@iamankitpuri Жыл бұрын
Informative 👍
@ParthShah-wy1qe
@ParthShah-wy1qe Жыл бұрын
Great simple and works for me !
@dineshiphonepics-un4tn
@dineshiphonepics-un4tn Жыл бұрын
Bro have u installed it … I mean u got it
@swatijain4107
@swatijain4107 Жыл бұрын
thank you so much its so so helpful👍
@prashantrana546
@prashantrana546 Жыл бұрын
Glad it helped!
@cimoluo8675
@cimoluo8675 Жыл бұрын
It works! thank you so much!
@prashantrana546
@prashantrana546 Жыл бұрын
Glad it helped!
@tarunsn2326
@tarunsn2326 Жыл бұрын
thankyou somuch
@dhruv5958
@dhruv5958 Жыл бұрын
thanks bro 🗿
@androiddeveloperz
@androiddeveloperz Жыл бұрын
thank you so much .
@AA-hw4iv
@AA-hw4iv Жыл бұрын
Thanks!
@rahulpawar4797
@rahulpawar4797 Жыл бұрын
nice bro❤
@ManoranjanPanda4
@ManoranjanPanda4 Жыл бұрын
Nice 👍
@shelby_raj
@shelby_raj Жыл бұрын
working!
@namansarva1197
@namansarva1197 Жыл бұрын
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 Жыл бұрын
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 ":"
@megoo401
@megoo401 Жыл бұрын
Will Mac mini m2 pro 16gb be good? Please let me know
@prashantrana546
@prashantrana546 Жыл бұрын
The one with 13inch Screen
@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.
@akshatsinghal2479
@akshatsinghal2479 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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!
@pradq8689
@pradq8689 Жыл бұрын
System preferences is showing in my system, please suggest if any one can.
@prashantrana546
@prashantrana546 Жыл бұрын
Use Cmd+Spacebar - Then type System Settings, Open it at the end MySQL would be there.
@pradq8689
@pradq8689 Жыл бұрын
@@prashantrana546 working thanks
@shanugupta6668
@shanugupta6668 Жыл бұрын
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
@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.
@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
@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!
@tilakraaz2118
@tilakraaz2118 Жыл бұрын
command not found
@prashantrana546
@prashantrana546 Жыл бұрын
Which command are you talking abt, Can you be more specific
@sachalbhattacharjee8315
@sachalbhattacharjee8315 Жыл бұрын
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 8 ай бұрын
"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) I am experiencing something like the above"
@prashantrana546
@prashantrana546 8 ай бұрын
Have you done Homebrew Installation
@ramdayalsharma6721
@ramdayalsharma6721 Жыл бұрын
It worked, Thanks
Install MySQL 8.0.28 Database on MacOS Big Sur [Step-by-Step Tutorial]
19:39
PnTutorials by Pradnyankur Nikam
Рет қаралды 45 М.
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 20 МЛН
How to Install MySQL on Mac | Install MySQL on macOS (2024)
17:11
ProgrammingKnowledge
Рет қаралды 112 М.
Install MySql Server in Macbook M1 / M2
9:27
Learn Programming Yourself
Рет қаралды 32 М.
Install MySQL 8.0.32 on MacOS 12 Monterey [Step-by-Step Tutorial]
14:12
PnTutorials by Pradnyankur Nikam
Рет қаралды 16 М.
How to Install Homebrew in a right way for Mac (macOS M1/M2/M3) With zsh
9:02
ProgrammingKnowledge2
Рет қаралды 29 М.
zsh command not found mysql - Fix Provided
6:21
Mukesh otwani
Рет қаралды 24 М.
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН