Install MySql Server in Macbook M1 / M2
Ғылым және технология
In this video i have shown how to install MySQL server in Macbook air/pro M1 and M2 with silicon chip. I will also set the path of mysql in .bash_profile and run the mysql using terminal.
Download Link : dev.mysql.com/downloads/mysql/
For zsh not found problem : • Install MySql server o...
➡️:Java Playlist ArjunCodes :
• Java
-----------------------------------------------------------------------------------------------------------------------
➡️ SpringBoot Playlist ArjunCodes :
• Spring Boot
-----------------------------------------------------------------------------------------------------------------------
➡️ Subscribe : / codewitharjun
Stay Connected :
➡️ LinkedIn : / arjungautam1
➡️ Github : github.com/arjungautam1
Join Community :
➡️Discord : / discord
Follow me on :
➡️ Medium: / codewitharjun
➡️ Dev.to : dev.to/codewitharjun
#MySQL #MacbookM1 #Installation #ArjunCodes #CodeWithArjun
Пікірлер: 370
If you are getting problem while installing in zsh shell i have already published video for that check out For zsh not found problem : kzread.info/dash/bejne/oayI0cdmZMacf7A.html
@AlwinBasilShah
2 жыл бұрын
I checked
@guozhetao_9179
2 жыл бұрын
@@AlwinBasilShah where is the link?
@ryanneil4020
2 жыл бұрын
Here's the video: kzread.info/dash/bejne/oayI0cdmZMacf7A.html
For those who have path problem : 1- touch .zshrc 2- open -t .zshrc 3- write : "export PATH=${PATH}:...." as video & save 4- quit terminal and open new one
@hp___n_
2 жыл бұрын
Thanks. This works!
@rava4139
2 жыл бұрын
thanks brother
@pvd4170
2 жыл бұрын
Thanks man!) Saved me)
@3L3N3S
2 жыл бұрын
I hope both sides of your pillow are cold every night you go to bed
@lromano0706
2 жыл бұрын
worked for me thank you!
You are awesome! I'm taking my first database class and I was becoming so frustrated with trying to figure out how to set everything up. Your video saved me! Thank you for the tutorial!
omg thank you very much i struggled downloading it for almost 4 hours but wow you explained it very well and now its running!!!
@CodeWithArjun
2 жыл бұрын
Glad I could help!
Excellent, concise walkthrough and instructions. Thank you!
@CodeWithArjun
2 жыл бұрын
Glad it was helpful! Be sure to subscribe.
Thank you! Yours is the only tutorial that worked!
You save my day during the installation on my macbook pro m2
Very nice tutorial mate! Helped me a lot! Cheers!
@CodeWithArjun
Жыл бұрын
Glad to hear it! Be sure to subscribe.
Thank you so much for the detailed tutorial ! saved me lots of time !
@CodeWithArjun
Жыл бұрын
Great to hear!
The video was well made. Precise and really useful. Thank you
@CodeWithArjun
11 ай бұрын
Glad it was helpful!
Thank you so much! tried so many times before this video.Finally connection is done.
@CodeWithArjun
Жыл бұрын
Glad it helped
Thanks mate I have been struggling to run mysql for a week. Keep making these kind of videos
@CodeWithArjun
2 жыл бұрын
Glad it helped ! Be sure to subscribe.
Clear and simple explanation. Thank you
Very nice explanation sir, Thank you!
This video is really useful.. Thank you so much Arjun Codes
@CodeWithArjun
2 жыл бұрын
You are welcome, Be sure to subscribe.
Super helpful. Thank you, Good Man 🙏🏻
@CodeWithArjun
9 ай бұрын
You're welcome!
Thank you show much it was very helpful!
@CodeWithArjun
2 жыл бұрын
Glad it was helpful. Be sure to subscribe.
Thanks a lot bro, was finally able to install it
@CodeWithArjun
2 жыл бұрын
Glad I could help ! Be sure to subscribe.
Thaks, perfect installing in macbook m2
bro this is SO HELPFUL THANK YOUU
@CodeWithArjun
Жыл бұрын
Glad it helped!
Thank you. I’m happy it went well 😁😁
@CodeWithArjun
Жыл бұрын
Happy to help.
Большое спасибо, сначала ничего не получилось, но благодаря просмотру комментов и написания доп. строк, все получилось. УРа
@CodeWithArjun
Жыл бұрын
Рада что понравилось. Обязательно подпишитесь.
Great video! This works very well
@CodeWithArjun
Жыл бұрын
Glad it helped!
HELPS A LOT!!
Great tutorial, thanks!
@CodeWithArjun
10 ай бұрын
Glad it was helpful!
Very well explained!!
@CodeWithArjun
2 ай бұрын
Glad you think so!
Thank you for this video!
@CodeWithArjun
Жыл бұрын
Glad it was helpful!
helped a lot, thanks
Great work! Thanks!
@CodeWithArjun
Жыл бұрын
Glad you liked it! Be sure to subscribe.
Thank you for this video. After I downloaded sql server, .bash_profile is already showing in the terminal so I'm assuming it already has the correct file path and I don't need to complete the file path steps you described after you created the .bash_profile. Is that a correct assumption?
thank you!!! fixed my problem!!!
@CodeWithArjun
Жыл бұрын
Glad I could help! Be sure to subscribe.
Very helpful. Thank you.
@CodeWithArjun
Жыл бұрын
Be sure to subscribe.
Thank you so much for this video
@CodeWithArjun
2 жыл бұрын
You are so welcome!
Thank you so much 👏🏻
@CodeWithArjun
2 жыл бұрын
Glad you liked it. Be sure to subscribe.
wonderful, thank you so much
@CodeWithArjun
2 жыл бұрын
Glad you liked it! Be sure to subscribe.
Thank you very much!
@CodeWithArjun
2 жыл бұрын
You're welcome!
Thank you so much
Thank you so much !!!
@CodeWithArjun
2 жыл бұрын
You're welcome! Be sure to subscribe.
Very helpful thank you
@CodeWithArjun
11 ай бұрын
You're welcome!
THANK YOU SAVIOUR ❤
@CodeWithArjun
10 ай бұрын
You're welcome!
thanks for explanation!
@CodeWithArjun
Жыл бұрын
Glad it was helpful!
Thank you so much 🙏
@CodeWithArjun
2 жыл бұрын
Glad it was helpful. Be sure to subscribe.
thanku you 😁
Thank you! This is very useful!
@CodeWithArjun
2 жыл бұрын
Glad it was helpful!
Thank you, amazing video!
@CodeWithArjun
Жыл бұрын
Glad you liked it! Be sure to subscribe.
THanks !
Thank you!
@CodeWithArjun
2 жыл бұрын
You're welcome!
Thank you🎉
Sir, I would like to express my deepest gratitude to you for sharing your knowledge. I've been doing this for over 3 months now (without any success) until now. Much appreciated.
Hey how do I fix this touch: .zshrc: Permission denied issue please?
not getting option for setting password after while installation , after installation it directly moved to summary option ..how to fix this???
Hello . anyone can help me please? I did all the steps as in the video, and everything went OK, till the moment I press: mysql -u root -p, and the system tells me: mysql not found. What should I do?
@vinothkumarvellingiri3730
Жыл бұрын
I've the same issue can anyone help me? please
@vaibhavvijay5058
Жыл бұрын
you have to use .zshrc instead of .bash_profile in the above video simple //explanation that was because we were using the zshrc terminal instead of the bash terminal
@allenreji4557
6 ай бұрын
@@vaibhavvijay5058you're a life saver buddy 😍
@Coding_Sage_
3 ай бұрын
im still facing the same issue, wt should i do? @@vaibhavvijay5058
please make video on mysql jdbc with java project in vscode.
Hi for some reason the community server and my workbench are unable to connect and the workbench cant find the Local Instance when i tried putting in the codes and pasting the bin PATH it didnt arrive at the password option. what did i do wrong?
Thank you very much
@CodeWithArjun
7 ай бұрын
You are welcome
Thanks you so much sir
@CodeWithArjun
Жыл бұрын
Most welcome ! Be sure to subscribe.
@jsnam8139
Жыл бұрын
@@CodeWithArjun subbed! :)
did you install it via rosetta?
everything went well except when I approached 4:19 (mysql -u root -p) shown mysql not found... please advise what do I need to do to continue this progress?
@erayaltntas8395
Жыл бұрын
same problem which I living. Actually all the time ı have problem when I try to download crack stuff !!! Murphy don't waste my time
@almgohcs
Жыл бұрын
@@erayaltntas8395 chsh -s /bin/bash
@cristianmp3
Жыл бұрын
@@erayaltntas8395 is like this usr/local/mysql/bin/mysql -uroot -p
@adityagrover846
Жыл бұрын
@@almgohcs hey that worked but after i am entering password its sating credentials could not be verified even though im entering the password i just put for mysql
Now there is no option to Choose Mac OS for the community Version. Windows is the only Option. Any other way out. ?
mysql -u root -p showing command not found what to do I'm using M1 and sh terminal
thanks !
@CodeWithArjun
7 ай бұрын
You're welcome!
How can we update mysql server version on mamp? My mysql version is 5.7.39 but now I need 10.2.29. how can I do that?
do i need to remove the installer? what if i just keep it?
4:11 - when i wrote that , i got an error saying zsh: command not found : mysql How to solve it ?
When we do riverse engineer or create new model, it is crashing
I cant find my /usr in my finder please help
can we install SQL with out docker?
You are a life saviour to me :)
@CodeWithArjun
Жыл бұрын
Glad to help.
I am cant folder named usr what should i do
thank you
@CodeWithArjun
Жыл бұрын
You're welcome
Pleaseee tell me after watchiand doing everything exactly as said, now where do i write the code???? Pleaseee help
bro for some reason my SQL Server is not being active at all I keep clicking on it but it does not activate
Thanks a lot for the turorial! One quick question, is there any way to know how much resources (RAM, Processor, etc) does the mysql consumes while being active? Thanks again for the info!
@CodeWithArjun
2 жыл бұрын
Search for Activity Monitor in launchpad and check out for mysql. Also be sure to subscribe my channel.
not working for me as anaconda already have its own path installed in file. help please
I guess my problem step password. I tried many way but, there is no password screen and ı can not see when I writin....
cant find usr folder
how do i connect this with azure??
How to deal with path problems in m1
My version is 8.0.34 is it okay?
May i know how to fix this? when run mysql -u root -p show this error "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
@cristianmp3
Жыл бұрын
make sure server is running, check password used
Tks
@CodeWithArjun
2 жыл бұрын
Glad it was helpful.
lessgo
Hii I have done everything as u told but in the end when i wrote mysql -u root -p it is not giving me password instead it is showing “-bash: mysql: command not found” please see into my query and lmk if u can tell me anything about this i am too new for this
@CodeWithArjun
2 жыл бұрын
chsh -s /bin/bash use this command and try.
@vipulchaudhari809
2 жыл бұрын
heyy bro abdus same thing is having too me at last command is not found: mysql show ho raha then how u solve te problem plz reply
@manmun5768
2 жыл бұрын
@Kuldeep Goyal TYSM, I need sql for a project and you saved me.
@maxyman00
2 жыл бұрын
@Kuldeep Goyal This worked for me too, thank you!
@tanyashekhawat7106
2 жыл бұрын
Check if the e in export is in lower case or upper. It should be in lower case.
when I run the command "mysql -u root - p" terminal says command not found mysql.....help
@shounakyadav8075
Жыл бұрын
Did you get the solution for it?
@zeynabh
Жыл бұрын
@@shounakyadav8075 did u get the sol for it?
@luisphan7403
Жыл бұрын
Me too
@luisphan7403
Жыл бұрын
@@zeynabh i’m not solve it
@zeynabh
Жыл бұрын
@@luisphan7403 did you install mysql server? also it might be a shell problem like your default shell is diffrent
having an issue running mysql -u root -p getting command not found. Using MacOS 12.5 (21G72). Any thoughts?
@MrLeheed
Жыл бұрын
after typing the command in your bash file. Open the terminal and enter this command: /usr/local/mysql/bin/mysql -uroot -p
Why do you selected this version? ( macOS 11 (ARM, 64-bit), DMG Archive )
@payalpagere6957
Жыл бұрын
He is using MAC M1 chip if ur using MAC with intel chip then go with x86
Sir when I open .bash_profile it shows you cannot edit it.
hii bro i just wanted some information brother please reply when you are free Actually am going to pursue a course on etl tesing( oracle sql based) But am not sure if i can download and run oracle sql and run informatica tools on this m1 computer.You don’t have to explain me how to download them but just let me know whether i can download and run them on m1 macbook. Or should i go to a windows computer for that. Please let me know asap bro.Will wait for your reply bro. Thankyou
hey , I have a zsh terminal in my m1 mac, how did you get the bash terminal?
@CodeWithArjun
2 жыл бұрын
chsh -s /bin/bash use this command
@sharlenepereira627
2 жыл бұрын
@@CodeWithArjun 4:21. I cannot enter the password and open that window nor did I receive the bash.profile any solution pls?
@CodeWithArjun
2 жыл бұрын
@@sharlenepereira627 just enter the password you won't see in the screen.
@sharlenepereira627
2 жыл бұрын
@@CodeWithArjun I did that. it worked but now it isn't showing me the database on @. pls help. it's saying 'command not found'
@CodeWithArjun
2 жыл бұрын
@@sharlenepereira627 check command properly, if it still doesnt connect me in facebook or linkedin.
You can just add the path to the .zshrc file and not to the bash_profile file
@CodeWithArjun
2 жыл бұрын
if you are using zsh as your default terminal. I was using bash terminal that's why i did in bash_profile.
@jornesaenen
2 жыл бұрын
@@CodeWithArjun yes that’s what i mean. Because in the reactions were a lot of questions about zsh
@anamikapr3538
2 жыл бұрын
how can i do that?
@ssaai
2 жыл бұрын
Thanks 👍🏻
@soumikpattanayak3225
Жыл бұрын
@@jornesaenen thank u
the command 'mysql -u root -p' did not work for me :/
its said "macOS 13 (ARM, 64-bit), DMG Archive" doesnt support in this computer so what can i do
@CodeWithArjun
5 ай бұрын
I have a new video on same topic go through my channel
bro finally my sql is running after 3 month of struggle can u plz make video how to install mangodb in m1. plz bro
@CodeWithArjun
2 жыл бұрын
Sure bro soon.
MySQL within system settings constantly stops and starts every few seconds, does anyone know how to resolve this? Thanks
at 4:08 when i type in mysql it says that the zsh : command not found its also now switching to bash at the top of the terminal its still zsh pls help pls and thank you!
@KAMarfo
2 ай бұрын
For those who have path problem : 1- touch .zshrc 2- open -t .zshrc 3- write : "export PATH=${PATH}:...." as video & save 4- quit terminal and open new one
Great tutorial! I'm just having one issue with the terminal step at the end, when I try to introduce "mysql -u root -p" it says command not found. Any help? Thanks.
@MdManik-sq2wy
Жыл бұрын
same problem.... got any solution?
@stefanovigotti52
Жыл бұрын
@@MdManik-sq2wy I've found a possible solution in a comment below : "you have to use .zshrc instead of .bash_profile in the above video simple //explanation that was because we were using the zshrc terminal instead of the bash terminal." 1- touch .zshrc 2- open -t .zshrc 3- write : "export PATH=${PATH}:...." as video & save 4- quit terminal and open new one There is alse a specific video uploaded by the same channel specific for install mySql server on zsh shell --> kzread.info/dash/bejne/oayI0cdmZMacf7A.html
@ernestosandoval7575
8 ай бұрын
@@stefanovigotti52 Interesting. zhrc didn't work but bash did..
@PancakeSandwich
4 ай бұрын
This worked for me. Thank You!
hey i followed every steps but when i type mysql -u root -p command , its showing as " zsh: command not found: mysql" this is displayed.. what can i do now?
@CodeWithArjun
2 жыл бұрын
chsh -s /bin/bash
@maximontesn
2 жыл бұрын
@@CodeWithArjun hi, I have the same problem. what after that? thank you
@emilysheffield7296
2 жыл бұрын
@@maximontesn after you use chsh -s /bin/bash, enter your password you use to unlock your Mac, then close and reopen the terminal, let me know if that helps at all
@kadirmenfaatl5947
2 жыл бұрын
@@emilysheffield7296 unfortunately not fixed
@sohampande5254
2 жыл бұрын
@@emilysheffield7296 Thank you man it helped, you are a queen
Hi, I make the same like you just to one moment, after I paste intro .bash_profile and I open the terminal, I make the same like you "mysql -u root -p" but when I press enter he show me this zsh: command not found: mysql Do you can help me with that? ?? I have already changed 3 Mac's already, and I bought a new one, but I cannot work proper in mysql never, every time I have errors, and I think it is something about that error from terminal Thank you, and maybe you will can help me with that Cheers
@CodeWithArjun
2 жыл бұрын
bro you have to change you default terminal into bash for that first write chsh -s /bin/bash Then do the same process again.
@bdd_international_partner2365
2 жыл бұрын
I did the same. Run the chsh-s /bin/bash and I entered my password to unlock my Mac. When I re-run mysql-u root -p I end up with the same message “zsh: command not found: mysql “ thanks.
@RayBlaxe
2 жыл бұрын
@@bdd_international_partner2365 same
@melanieb5242
2 жыл бұрын
@@RayBlaxe same. Did you manage to solve this ?
Thanks for the instruction but I've got this problem: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) How can I solve it?
@vovakisarav8145
13 күн бұрын
+ у меня так же
I’m getting a message when I type in the password in terminal saying “ access denied for user ‘root’@‘localhost’ (using password:YES)” any recommendations?
@thanos8463
4 ай бұрын
you are using wrong password maybe a typo