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
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!
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.
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!
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".
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! 🙇♀
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)
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 .
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
@@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.
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
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
hello sir you work was so helpfull for me in my ternimal i need to source every time when i need to run mysql if i closed then agian i need to source .zshprofile then only mysql server runs in terminal please hepls with it sir
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 ?
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?
could someone please tell me what he is saying to type into the terminal. I'm on a zsh mac and can't understand him. Is he saying control + Alt + Right? I'm so confused. :(
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?
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.
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
Thank you so much! First it didn't work, then I quitted the terminal and started again, and it worked well!
Great! Don't forget to subscribe.
Same as well for me
Same!
Thank you so much!
Same here
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
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
Glad it helped! Be sure to subscribe.
That was absolutely helpful, you deserve more audiance. Cheers.
Glad it helped! Be sure to subscribe.
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?
same problem
Same 😢
Same problem
Same here. I have homebrew files in the .zprofile , file might be causing issues 🤔
@@tik2276same 😖 how to fix that
Amazing...I spent several days trying to install Mysql on my Macbook Air M1 2020. Thanks a bunch..
Glad it helped
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!
Glad I could help ! Be sure to subscribe.
This helped me. It works. restart the terminal afterwards
You are fantastic! Thanks tons! It worked the second time I tried after I gave it a restart. 😃 Cheers!
Glad to hear that. Don't forget to subscribe.
Best video on this problem. thank you very much!
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.
If you are facing error in u -root -p
Quit the terminal and Star again
Problem will be solved 👍
Thanks mate
Hats off to you...... struggled a lot to install.. finally works like magic. keep it up
Glad to hear that
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!
Glad it was helpful! Be sure to subscribe.
@@CodeWithArjun pls also provide the command in description too
Thanks a lot Arjun. I followed step-by-step after failing for 2 hours. May god bless you!
Be sure to subscribe.
I got the same zsh: command not found mysql message again. I quit the terminal and opened again and it worked!
Thank you so much. Very helpful. Crisp and clear
Glad it was helpful!
This helped me with my zsh: command not found: mysql problem. You're a life saver! Thanks a lot, mate!!
Glad it helped! Be sure to subscribe.
thank you so much. after a lot of attempts, finally got it.
Glad it helped!
you are honestly god send thank you so much have a blessed day! new subscriber
Thank you so much, now I can use mysql on my macbook
Glad it helped
Thanks! This worked. It didn't previously however after resetting my mac, it seemed to work fine!
Glad it helped!
Thank you sir!! You are Fantastic it worked after I restart my terminal
Glad it helped ! Be sure to subscribe.
Thank you for your support!
Thank you too!
Thank you so much.....since I am using the latest Macbook version, took me days to install this.
Thank you so much!
Glad it helped! Be sure to subscribe.
Thank You So much brother, it works on me. The tutorial it's great and easy to understand, hope you have a nice day!
Glad it helped ! Be sure to subscribe.
Thank you very much! It works and helped me to solve my problem.
Glad it helped!
thanks for leading us step by step!!!
You are so welcome!
Thank you ... this tutorial very helpful .... so thank you very much ,and good luck
Glad it helped ! Be sure to subscribe.
when i enter mysql -u root -p
it showing zsh:command not found:mysql
Did you fix the problem?
Thank You so much dear ❤️. Now I can use mqsql
You are welcome 😊 Be sure to subscribe.
After I type mysql -u root -p and press enter, it gives this
" zsh: command not found: mysql "
Any help please !!
happened with me too
How to solve it, sir?😢
Thank You so much this video is really very help full for me.
You are most welcome ! Don't forget to subscribe.
Another thank you from India.
So nice of you
When I write commend mysql -u root -p it shows that commend not found, What should i do?
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
same, were you able to fix it
@@viswatara1231 this is for zsh , you need the other video with bash version
@@moresub2589 got it thank you
You are a lifesaver thank you so much
Very Helpful. Thanks !!!❤
Thank you so much sir ,after so many attempts i got it
Well done
Thank u so much for help me!
Work like a charm, thanks so much!!!
Glad it helped! Don't forget to subscribe.
Thanks for your help
thank you so much brother ❤❤❤❤
it helped a lot
Glad to hear that Be sure to subcribe.
Thank you so much bro keep up the good work
Glad to help, Be sure to subscribe.
Thanks a lot. Worked perfectly!
Glad it helped ! Be sure to subscribe.
thanks bro! finally i solved thx so much
Glad I could help
Arjun, you're the best :} thank you
Glad it was helpful. Be sure to subscribe.
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".
Thank you so much Arjun🔥🔥🔥
Glad you liked it. Be sure to subscribe.
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
Thank you very much, very helpful)
Glad it helped!
thank you, this is super helpful!
Glad you like it. Be sure to subscribe.
U make my day! Thx!
I'm glad!
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! 🙇♀
Put the MySQL statement below the Python stuff. After that, save in Nano and restart the Terminal.
I have entered the same one for python and sql export statements it has worked. You may need to restart the terminal.
thank you so much
thank you! its really good helpful!
Glad it was helpful! Don't forget to subscribe.
really this video helped me a lot
Thanks be sure to subscribe.
i followed your steps but i still have mysql command not found...
Love u ,❤️ thanks for help 😁
Happy to help!
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)
I am getting the same error . Please help me if you went through this ? How you move further ?
im getting this same eror how you fix that
@@shubhamchaudhary571
Thanks buddy
thanks alot man
Great support. Thank you
Thank you too
Let’s goooooooo!! Thank you!
Hope you enjoyed it!
thanks it really helpful
Thanku so much bro❤
Very helpful, thanks
Glad it was helpful!
I am getting command not found: mysql
Can you please help me with it
tnx man I love you
Happy to help.
lifesaver!!
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
Did you try restarting your terminal ?
@@CodeWithArjun yes but showing command not found
@@CodeWithArjun restarting worked for me - thank you so much
Thanks a lot man.
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 .
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
@@CodeWithArjun I m facing this issue yet. what do i do ?
@@taniyameghani66 Me same issue any solution ??
@@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.
thanku so much brotherrrr
hi thanx for this video but i can not see .zprofile . do you know why? even i installed lates version mysql and restart mac.
you have to create it by typing touch .zprofile
i am unable to access mysql, it shows the original path is stored somewhere else and always shows that mysql is not found
Thank you! very usefull!
Glad to hear that!
even after everything for some reason at the end after typing mysql -u root -p ..it shows mysql command not found..what to do?
same problem
got any solutions ??
Thank you so much man!
Happy to help!
But If you are using oh my zsh then you have to add path inside .zshrc file.
Thank you so much finally balla talla vayo 🤣
Haha Sahi ho. Nepali comment auda khusi lagyo.
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
which terminal you are using bash or zsh make sure that first, this if for zsh profile not for bash.
@@CodeWithArjun Same issue. I'm running zsh terminal and have done all the steps from the video. But still got command not found..
I closed the terminal and reopen and it's working. Great thx
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
@@jeetteej I too am having this problem
mannnn you is good
hello sir you work was so helpfull for me
in my ternimal i need to source every time when i need to run mysql if i closed then agian i need to source .zshprofile then only mysql server runs in terminal please hepls with it sir
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 ?
If you have done the things properly and still not working then restart your laptop.
@@CodeWithArjun thanks sir..this worked.
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?
Fixed with reset password, thank you. Now it works!
@@xiesiyan1139 I do the same problem like you, then I tried to using my iCloud password and then it works! Thank you Arjun!🙏
@@xiesiyan1139 how to restart my password?
The pathway has been copied but it is again showing zsh: command not found: MySQL !! what to do ??
Thank you!
💝
You're welcome 😊
thank you so much.
thank you!
You're welcome!
tip: if the mysql command fails to work, quit terminal for a few minutes and it should work
could someone please tell me what he is saying to type into the terminal. I'm on a zsh mac and can't understand him. Is he saying control + Alt + Right? I'm so confused. :(
Thank you very much
Glad you like it. Be sure to subscribe.
I am getting problem after path was exported??
what to do
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?
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.
hey i am facing the exact same issue for me if you find the solution can you please help me as well
Hello. I am still getting the command not found : mysql error on my Mac M2
Please post complete video download ,install and setting.
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
Thank you so much!!
You're welcome!