Thank you so much! First it didn't work, then I quitted the terminal and started again, and it worked well!
@CodeWithArjun2 жыл бұрын
Great! Don't forget to subscribe.
@oliviahero49862 жыл бұрын
Same as well for me
@JenniferAdaobiIfeadii Жыл бұрын
Same!
@JenniferAdaobiIfeadii Жыл бұрын
Thank you so much!
@sathwikupadhyaya8783 Жыл бұрын
Same here
@i.m45312 жыл бұрын
Thank you so much. I have been struggling to install SQL for my MacOS. You are the only one who helped me resolve the issue
@CodeWithArjun2 жыл бұрын
Glad it helped! Be sure to subscribe.
@fadibadriya45374 ай бұрын
I spent almost 2 hours trying to research problem on google and talking to apple support, I watched your video and solved it in 10 minutes, you are a G
@Vishaljhagoa3 жыл бұрын
Thank you so much! Finally it worked! after doing all process still it was showing the same error so I quit the terminal and restarted again and it worked! Thank you so much!
@CodeWithArjun3 жыл бұрын
Glad I could help ! Be sure to subscribe.
@deepak.chakala0182 жыл бұрын
That was absolutely helpful, you deserve more audiance. Cheers.
@CodeWithArjun2 жыл бұрын
Glad it helped! Be sure to subscribe.
@celestehill4646 Жыл бұрын
Amazing...I spent several days trying to install Mysql on my Macbook Air M1 2020. Thanks a bunch..
@CodeWithArjun Жыл бұрын
Glad it helped
@chrisbryant012 жыл бұрын
Very helpful, thanks so much for making this! One suggestion I have is that as someone who's not working with MySQL, bin files, and PATH, some parts you were just a tad bit hard to keep up with...but I think that comes down to user error more than anything, :). Of course, I was able to just pause and rewind as much as needed and you explained everything wonderfully.
@myersandrada73452 жыл бұрын
This helped me with my zsh: command not found: mysql problem. You're a life saver! Thanks a lot, mate!!
@CodeWithArjun2 жыл бұрын
Glad it helped! Be sure to subscribe.
@mayankarora27302 жыл бұрын
Thanks a lot Arjun. I followed step-by-step after failing for 2 hours. May god bless you!
@CodeWithArjun2 жыл бұрын
Be sure to subscribe.
@sliviawu38042 жыл бұрын
Thank you so much for this video, Arjun! This is super helpful! I was referring to other Mac tutorials and didn't know that it is different for M1 Macbook. Your video saved me!
@CodeWithArjun2 жыл бұрын
Glad it was helpful! Be sure to subscribe.
@santoshkumardoodala25352 жыл бұрын
@@CodeWithArjun pls also provide the command in description too
@ajinkyapol37572 жыл бұрын
Hats off to you...... struggled a lot to install.. finally works like magic. keep it up
@CodeWithArjun2 жыл бұрын
Glad to hear that
@ryanjuniaralyasa4968 Жыл бұрын
I've already followed all of your steps, but the "zsh: command not found: mysql" problem is still exist. I'm using Macbook M2. Can you help me Arjun?
@mostafaabumosalem Жыл бұрын
same problem
@samkitbafna1393 Жыл бұрын
Same 😢
@shakespearechabungbam1 Жыл бұрын
Same problem
@tik2276 Жыл бұрын
Same here. I have homebrew files in the .zprofile , file might be causing issues 🤔
@Redalert2023 Жыл бұрын
@@tik2276same 😖 how to fix that
@naphtaliodinakachi15082 жыл бұрын
This helped me. It works. restart the terminal afterwards
@FreddyPunches Жыл бұрын
Let’s goooooooo!! Thank you!
@CodeWithArjun Жыл бұрын
Hope you enjoyed it!
@MOXASHI25 күн бұрын
man, just want say thanks very much, amazing guy.
@odesagovori24682 жыл бұрын
You are fantastic! Thanks tons! It worked the second time I tried after I gave it a restart. 😃 Cheers!
@CodeWithArjun2 жыл бұрын
Glad to hear that. Don't forget to subscribe.
@abhijitgowda3475 Жыл бұрын
Thank you so much. Very helpful. Crisp and clear
@CodeWithArjun Жыл бұрын
Glad it was helpful!
@ShanifaMohammed11 ай бұрын
I got the same zsh: command not found mysql message again. I quit the terminal and opened again and it worked!
@ayushichadha81962 жыл бұрын
thank you so much. after a lot of attempts, finally got it.
@CodeWithArjun2 жыл бұрын
Glad it helped!
@albigjeka Жыл бұрын
Thank you for your support!
@CodeWithArjun Жыл бұрын
Thank you too!
@tessasarah35933 жыл бұрын
Thank you so much, now I can use mysql on my macbook
@CodeWithArjun3 жыл бұрын
Glad it helped
@clippedbythesecond Жыл бұрын
you are honestly god send thank you so much have a blessed day! new subscriber
@RAMGANESHSAMALA2 жыл бұрын
when i enter mysql -u root -p it showing zsh:command not found:mysql
@wajen-92435 ай бұрын
Did you fix the problem?
@piyushkulkarni3852Ай бұрын
@@wajen-9243 restart the terminal
@khushal82982 жыл бұрын
Thank you sir!! You are Fantastic it worked after I restart my terminal
@CodeWithArjun2 жыл бұрын
Glad it helped ! Be sure to subscribe.
@aerielleb69012 жыл бұрын
Thanks! This worked. It didn't previously however after resetting my mac, it seemed to work fine!
@CodeWithArjun2 жыл бұрын
Glad it helped!
@subhashri1818 Жыл бұрын
Thank you so much sir ,after so many attempts i got it
@CodeWithArjun Жыл бұрын
Well done
@НикитаСеребряков-е1в Жыл бұрын
Thank you very much! It works and helped me to solve my problem.
@CodeWithArjun Жыл бұрын
Glad it helped!
@joycebordador57542 жыл бұрын
Thank you so much.....since I am using the latest Macbook version, took me days to install this. Thank you so much!
@CodeWithArjun2 жыл бұрын
Glad it helped! Be sure to subscribe.
@virushan3 жыл бұрын
Thank You so much dear ❤️. Now I can use mqsql
@CodeWithArjun3 жыл бұрын
You are welcome 😊 Be sure to subscribe.
@lalunarinjani88082 жыл бұрын
Thank You So much brother, it works on me. The tutorial it's great and easy to understand, hope you have a nice day!
@CodeWithArjun2 жыл бұрын
Glad it helped ! Be sure to subscribe.
@hammam922 жыл бұрын
After I type mysql -u root -p and press enter, it gives this " zsh: command not found: mysql " Any help please !!
@dakshacharya7787 Жыл бұрын
happened with me too
@xiaxiaky558 ай бұрын
How to solve it, sir?😢
@afzhalahmed20512 жыл бұрын
Another thank you from India.
@CodeWithArjun2 жыл бұрын
So nice of you
@Hartinhart Жыл бұрын
thanks bro! finally i solved thx so much
@CodeWithArjun Жыл бұрын
Glad I could help
@jiteshparas95282 жыл бұрын
Thank You so much this video is really very help full for me.
@CodeWithArjun2 жыл бұрын
You are most welcome ! Don't forget to subscribe.
@eylonashkenazi32182 жыл бұрын
So I had a little issue with SQL on my MacBook M1. Took some digging, but found the solution. Terminal was saying "zsh: command not found: mysql", but I found the fix, just type "/usr/local/mysql/bin/mysql -u root -p".
@weichun20112 жыл бұрын
thanks for leading us step by step!!!
@CodeWithArjun2 жыл бұрын
You are so welcome!
@kuladeepakkarapaka77942 жыл бұрын
Thank you so much bro keep up the good work
@CodeWithArjun2 жыл бұрын
Glad to help, Be sure to subscribe.
@subratkumar77792 жыл бұрын
thank you so much brother ❤❤❤❤ it helped a lot
@CodeWithArjun2 жыл бұрын
Glad to hear that Be sure to subcribe.
@Mr.AhmedAlzeidi2 жыл бұрын
Thank you ... this tutorial very helpful .... so thank you very much ,and good luck
@CodeWithArjun2 жыл бұрын
Glad it helped ! Be sure to subscribe.
@phuonganhphung262 жыл бұрын
Work like a charm, thanks so much!!!
@CodeWithArjun2 жыл бұрын
Glad it helped! Don't forget to subscribe.
@pranavmenon4673 Жыл бұрын
even after everything for some reason at the end after typing mysql -u root -p ..it shows mysql command not found..what to do?
@thanos846311 ай бұрын
same problem got any solutions ??
@chandraprakash4712 жыл бұрын
Love u ,❤️ thanks for help 😁
@CodeWithArjun2 жыл бұрын
Happy to help!
@olubukola107 Жыл бұрын
You are a lifesaver thank you so much
@AlexandrBeckers Жыл бұрын
U make my day! Thx!
@CodeWithArjun Жыл бұрын
I'm glad!
@pianosakura52112 жыл бұрын
Thanks a lot. Worked perfectly!
@CodeWithArjun2 жыл бұрын
Glad it helped ! Be sure to subscribe.
@user-from-kz4792 жыл бұрын
Thank you so much Arjun🔥🔥🔥
@CodeWithArjun2 жыл бұрын
Glad you liked it. Be sure to subscribe.
@iAmDrigoSteel2 жыл бұрын
Hey dude, so I got through everything correctly but when I use the MySQL -u root -p It says -bash: mysql: command not found Any help? Thanks
@viswatara1231 Жыл бұрын
same, were you able to fix it
@moresub2589 Жыл бұрын
@@viswatara1231 this is for zsh , you need the other video with bash version
@viswatara1231 Жыл бұрын
@@moresub2589 got it thank you
@apurbapanja1693 Жыл бұрын
Very Helpful. Thanks !!!❤
@anitafalchi10503 жыл бұрын
Arjun, you're the best :} thank you
@CodeWithArjun3 жыл бұрын
Glad it was helpful. Be sure to subscribe.
@maramsendi4026 Жыл бұрын
When I write commend mysql -u root -p it shows that commend not found, What should i do?
@anurag80682 жыл бұрын
If you are facing error in u -root -p Quit the terminal and Star again Problem will be solved 👍
@MrDarkmatterX2 жыл бұрын
Thanks mate
@nampallyadithyavardhan58432 жыл бұрын
really this video helped me a lot
@CodeWithArjun2 жыл бұрын
Thanks be sure to subscribe.
@itsrissss38712 жыл бұрын
thank you, this is super helpful!
@CodeWithArjun2 жыл бұрын
Glad you like it. Be sure to subscribe.
@aman_deep21 Жыл бұрын
Thank you very much, very helpful)
@CodeWithArjun Жыл бұрын
Glad it helped!
@pablogoncalves98809 ай бұрын
Thank u so much for help me!
@tristanboulay1064 Жыл бұрын
i followed your steps but i still have mysql command not found...
@eduardnarolskyi49052 жыл бұрын
thank you! its really good helpful!
@CodeWithArjun2 жыл бұрын
Glad it was helpful! Don't forget to subscribe.
@beatmusician105511 ай бұрын
Thanks for your help
@andrevt223 Жыл бұрын
Very helpful, thanks
@CodeWithArjun Жыл бұрын
Glad it was helpful!
@thecerebrum. Жыл бұрын
hi, please help, I am not able to install this. There is a problem with path, I have executed everything as you've shown but somehow there is a python stuff in the path automatically, I don't know how, moreover after entering mysql -u -p(something like that from the video) it says zsh : command not found: mysql your reply will be helpful.
@ekanshjindal9147 Жыл бұрын
hey i am facing the exact same issue for me if you find the solution can you please help me as well
@rossivlog91882 жыл бұрын
Thank you so much finally balla talla vayo 🤣
@CodeWithArjun2 жыл бұрын
Haha Sahi ho. Nepali comment auda khusi lagyo.
@sametzorlu8458 Жыл бұрын
hi thanx for this video but i can not see .zprofile . do you know why? even i installed lates version mysql and restart mac.
@CodeWithArjun Жыл бұрын
you have to create it by typing touch .zprofile
@unnatixlr8 Жыл бұрын
Thanks a lot man.
@sowdavarambalaji24963 жыл бұрын
Bro I have been trying to add mysql in zhs profile ,i have spend nearly 8 hrs on it tried more than 40 methods still no result bro , finally i have seen this video and successfully added path , after executing mysql -u root -p , i am getting same error no command .. any suggestions ?
@CodeWithArjun3 жыл бұрын
If you have done the things properly and still not working then restart your laptop.
@A2ZZ5553 жыл бұрын
@@CodeWithArjun thanks sir..this worked.
@nisargdelvadiya06252 жыл бұрын
thanku so much brotherrrr
@aaronmoroney20662 жыл бұрын
Thank you so much man!
@CodeWithArjun2 жыл бұрын
Happy to help!
@khalid-majed2 жыл бұрын
Hi first thanks for your help, but I have faced the same problem "comment command not found: mysql" and I did the same steps that you have done but still it’s not working so what should I do .
@CodeWithArjun2 жыл бұрын
make sure if you are using bash or zsh shell if your shell is bash i have a separate video for that otherwise make sure to restart your terminal. If still the same problem i will be happy to help
@taniyameghani66 Жыл бұрын
@@CodeWithArjun I m facing this issue yet. what do i do ?
@motivationinside2261 Жыл бұрын
@@taniyameghani66 Me same issue any solution ??
@taniyameghani66 Жыл бұрын
@@motivationinside2261 in the export path command, by mistake i did write path in small letters instead of capital letters. check every step once again. also restart your terminal.
@RISHUKUMAR-b3h Жыл бұрын
thanks it really helpful
@louisyoongdev2 жыл бұрын
How to fix when after type mysql -u root -p show this error? ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
@shubhamchaudhary5712 жыл бұрын
I am getting the same error . Please help me if you went through this ? How you move further ?
@sonyaalexandra96511 ай бұрын
im getting this same eror how you fix that @@shubhamchaudhary571
@janellebourda82524 ай бұрын
This doesn’t work!!!
@popodevries-zou48302 жыл бұрын
Thank you so much! However there was some issue that occurred to me - when I type "mysql -u root -p" in terminal, it reports that "zsh: command not found: mysql". My zprofile also looks different from yours when I perform "cat .zprofile": "export PATH=${PATH}:/usr/local/mysql-8.0.31-macos12-arm64/bin # Setting PATH for Python 3.9 # The original version is saved in .zprofile.pysave PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}" export PATH" I'm wondering if someone has a solution for this one? Thanks in advance! 🙇♀
@Rexia2 жыл бұрын
Put the MySQL statement below the Python stuff. After that, save in Nano and restart the Terminal.
@moresub2589 Жыл бұрын
I have entered the same one for python and sql export statements it has worked. You may need to restart the terminal.
@prag4u896 Жыл бұрын
Thanku so much bro❤
@tokelo25472 жыл бұрын
Perfect. Thanks !
@CodeWithArjun2 жыл бұрын
Glad you like it! Be sure to subscribe.
@konstandinosdimitriou23012 жыл бұрын
tnx man I love you
@CodeWithArjun2 жыл бұрын
Happy to help.
@ghassans41572 жыл бұрын
Thanks for the video. Quick question: @ 4:40 when I type "cat.zprofile" export PATH=S{PATH}:/usr/local/mysql-8.0.28-macos11-x86_64/bin # Setting PATH for Python 3.9 # The original version is saved in .zprofile.pysave PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}" export PATH And when I run "mysql -u root -p" I get "zsh: command not found: mysql" Any thoughts? Really appreciate your help!
@harikrishnanpn66942 жыл бұрын
yes same issue up here
@6exa2 жыл бұрын
any solution?
@moresub2589 Жыл бұрын
restart the terminal
@dzedbaradzed35502 жыл бұрын
Thank you! very usefull!
@CodeWithArjun2 жыл бұрын
Glad to hear that!
@gayathriyaganti29022 жыл бұрын
complete process went well same as video but, when testing for mysql it's showing same error "zsh:command not fund:mysql".Please help me in this
@CodeWithArjun2 жыл бұрын
Did you try restarting your terminal ?
@praji12022 жыл бұрын
@@CodeWithArjun yes but showing command not found
@tk-yc2on Жыл бұрын
@@CodeWithArjun restarting worked for me - thank you so much
@xiesiyan11392 жыл бұрын
Hello Arjun, after installed and fixed the zsh problem I can enter password. But the terminal shows "Access denied for user 'root'@'localhost' (using password: YES)".what should I do next?
@xiesiyan11392 жыл бұрын
Fixed with reset password, thank you. Now it works!
@revansahelsakuswana75902 жыл бұрын
@@xiesiyan1139 I do the same problem like you, then I tried to using my iCloud password and then it works! Thank you Arjun!🙏
@delidiana37152 жыл бұрын
@@xiesiyan1139 how to restart my password?
@stefanstanescu78162 жыл бұрын
Hello ! I already have something in zprofile .What should i do? If i do this my work in mysql workbench will be deleted or i will have problems with it?
@a065vrajnirajbhairajpurasv92 жыл бұрын
there is already a python path in that profile file and hence there are 2 paths so while running cat it shows both paths and next command when I put mysql -u root -p, it says command not found: mysql
@CodeWithArjun2 жыл бұрын
which terminal you are using bash or zsh make sure that first, this if for zsh profile not for bash.
@judfmathi80912 жыл бұрын
@@CodeWithArjun Same issue. I'm running zsh terminal and have done all the steps from the video. But still got command not found..
@judfmathi80912 жыл бұрын
I closed the terminal and reopen and it's working. Great thx
@jeetteej2 жыл бұрын
I m facing same issue as have 2 paths: one for python. I have tried both .bash and .zsh profile still getting the same error "zsh: command not found: mysql". Default profile is .zsh. Have quit terminal number of times. But not getting to the password prompt. @CodeWithArjun please let me know a solution
@raquelcastillo31062 жыл бұрын
@@jeetteej I too am having this problem
@chockalingampalaniappan6298 Жыл бұрын
I am getting command not found: mysql Can you please help me with it
@dharmanandanexportpvtltd25 Жыл бұрын
HI arun hope you are doing fine, i am just start to use Macbook M2 and i am able to use import command in VS Code as i need to import mysql-connector , could you help me to find solution
@noerodriguez_nr3 жыл бұрын
Great video!! But when I write Create database demo, I have no response, no query. I restarted but still the same. Any suggestions?
@CodeWithArjun3 жыл бұрын
It's won't show any response, but you have to check after that , just write show databases, it should show all the available databases.
@firdovsihasanzada2 жыл бұрын
Thank you very much
@CodeWithArjun2 жыл бұрын
Glad you like it. Be sure to subscribe.
@Madhavi621 Жыл бұрын
thank you so much.
@dqfans33642 жыл бұрын
sirr still my system was showing msql command not found what to do sirr pls hlp me ...
@CodeWithArjun2 жыл бұрын
Have you restarted your terminal ??
@11_nimishowhal59 Жыл бұрын
It was all good till rechecking the path but after enetering mysql -u root -p I am again getting same error of zsh: command not found: mysql
@visheshkrishnasa12882 жыл бұрын
Hey Arjun, I tried this method, and still, it's displaying "zsh: command not found: mysql". Can you suggest any other method? And if anyone else knows the solution for the issue please do help.
@pianosakura52112 жыл бұрын
Hi, did you close terminal completely and re-open it? It only worked after I did this!
@visheshkrishnasa12882 жыл бұрын
@@pianosakura5211 yes
@bisolamohammed2 жыл бұрын
@@visheshkrishnasa1288 I used /usr/local/mysql/bin/mysql -u root -p and it worked for me
@prabhav_gautam2 жыл бұрын
close the terminal completely and again write = mysql -u root -p it will work😉
@WungaBungaMC2 жыл бұрын
@@prabhav_gautam No. It won't lol. It still isn't working.
@goodmusic2842 жыл бұрын
Thank you so much, Sir. This was really helpful. Where is your tip jar?! :)
@CodeWithArjun2 жыл бұрын
Glad it was helpful! Happy to help you sir. PayPal : paypal.me/codewitharjun
@goodmusic2842 жыл бұрын
@@CodeWithArjun Sent! Again, thank you so much. This was really helpful.
@CodeWithArjun2 жыл бұрын
@@goodmusic284 Thank you so much man. I will try my best to bring new more helpful content. This is a best motivation for me.
@ashwaniagrawal27 Жыл бұрын
Sir it is still showing zsh: command not found: mysql what to do now can you please help????
@motivationinside2261 Жыл бұрын
write path in the .zshrc file it worked for me :--- vi ~/.zshrc export PATH=${PATH}:/usr/local/mysql-8.0.28-macos11-x86_64/bin if path is alredy there just add path using colon :{your path}
@ushaprudhvi61212 жыл бұрын
Thank you so much!!
@CodeWithArjun2 жыл бұрын
You're welcome!
@samkitbafna1393 Жыл бұрын
Does this trick also work for m2 chip thanks !?
@CodeWithArjun Жыл бұрын
yes
@martinnnachi Жыл бұрын
thank you so much!!!!!!!!!
@CodeWithArjun Жыл бұрын
Glad it helped!
@illiaillia2832 жыл бұрын
Thank you, sir
@CodeWithArjun2 жыл бұрын
Most welcome ! Don't forget to subscribe.
@monalisaprustyАй бұрын
Its working but can we directly open the MySQL?
@-Kunalarya2 жыл бұрын
in which folder the database will be stored?
@ekanshjindal9147 Жыл бұрын
i am unable to access mysql, it shows the original path is stored somewhere else and always shows that mysql is not found
@valerialotartaro43643 жыл бұрын
Thank you!!
@CodeWithArjun3 жыл бұрын
Glad to help. Be sure to subscribe.
@rahulailaboina867011 ай бұрын
I am getting problem after path was exported?? what to do