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
So Clean and Simple. This should be everyone's go to! Thank you.
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.
So clean and simple best tutorial ever
Thanks for explaining zsh and bash.
Great tutorial -- thank you!
Thank you it helped me a lot!
highly recommended video for mac m1
very informative. Thank you
Thank you so much its working
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
Glad it helped!
Hi Prashant thanks a lot it's working ❤❤
It works for me thank you so much
Thank you. It worked.
Informative 👍
Great simple and works for me !
Bro have u installed it … I mean u got it
thank you so much its so so helpful👍
Glad it helped!
thankyou somuch
thank you so much .
It works! thank you so much!
Glad it helped!
thanks bro 🗿
nice bro❤
Thanks!
Nice 👍
working!
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
MySQL password which was set earlier during setup needs to be enter in terminal, while logging into MySQL
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 ...❤❤
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🥺🥺
@@akshatsinghal2479 You want to Connect your Core Java Project with Database, or Your Java with Spring Project with Databas(MySQL)
@@prashantrana546 corejava bhaiya
@@prashantrana546 maenae hospital management system banaya h.
@@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!
Will Mac mini m2 pro 16gb be good?
Please let me know
The one with 13inch Screen
Bro when i am entering any command on my terminal its showing "no such job"....what should i do now?...please help
Any Command, have you configured you bash/zsh scripts properly. And can you paste the complete error.
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?
I have also added the zshenv
@@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.
just use shift with ":"
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.
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
@@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.
System preferences is showing in my system, please suggest if any one can.
Use Cmd+Spacebar - Then type System Settings, Open it at the end MySQL would be there.
@@prashantrana546 working thanks
Works for m2 air
Yes Definitively works with M2 Air/Pro, Follow Steps and Configure Path in Shell
its not working for me!
Bro terminal is not coming
Try using the command CMD + Spacebar, If still the issue comes let me know
mysql is not starting in system preferences
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.
@@prashantrana546 I get the icon on my system settings but it is not starting
@@hritikashah3956 After clicking on Start Mysql button, are you getting any error, or on terminal its not opening.
command not found
Which command are you talking abt, Can you be more specific
How to open...in 5:25
Use vi or vim Command.
Commands vi .bash_profile/vim .bash_profile. If files aren't created then also you can use these Commands.
zsh: command not found: is nena@tati-MacBook-pro ~%
it saying like that how i can head to next step
have you created zshenv file in your macos. If not pls create that
"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I am experiencing something like the above"
Have you done Homebrew Installation
It worked, Thanks