Install MySql Server in Macbook M1 / M2
HTML-код
- Опубликовано: 4 окт 2024
- In this video, I have shown how to download, install and configure mysql server in macbook air/pro m1 or m2 with apple sillicon chip.
In this session, I have discussed following points.
1. How to download, install and configure mysql server in macbook air/pro m1 or m2 with apple sillicon chip?
If you have any questions/comments/suggestions then
You can connect with me on Instagram - / varad_vvk
My GitHub link - github.com/var...
Disclaimer - The music/audio used(if any) in this video is not a property of "Learn Programming Yourself". All credit goes to owners of respective music/audio. This music/audio is not prone to any "Copyright Strikes".
#programming #coding #technology #learning
--------- Links to my other FREE courses. ---------
▶ Java 8 Full Course - • Java 8
▶ JDBC Full Course - • 1. Introduction to JDB...
▶ Microsoft Cognitive Services Course - • Computer Vision + Angu...
▶ JWT in Spring Boot and Angular - • How to download and in...
▶ CRUD Operations in Spring Boot and Angular (Full Stack) - • 1. Angular 16 and Spri...
▶ Console Based Banking Application Using Java - • Developing Console Bas...
▶ E-Commerce Application Development Using Angular and Spring Boot (Full Stack) - • 1. Developing E-Commer...
Good Explanation after 7:40 if you get no .zshrc file Error then follow these steps to create zshrc file:
The .zshrc file is not present by default in macOS Catalina, we need to create it.
Steps for creation:
1. Open Terminal
2.Type: touch ~/.zshrc to create the respective file. (touch command will create the .zshrc in your current directory but it will be hidden)
3.Hit Return
To view/open ~/.zshrc you can do either of two things:
Open Finder > Press Cmd+Shift+.
Or:
Open Terminal > and type: open ~/.zshrc
Thanks a lot
gracias
Thanks man. I appreciate it
Thanks a lot brother exactly the issue i was facing.
THANK YOU SO MUCH 🙏
Thank you so muchhhh..been struggling for last 3 hours and now finally got my sql ready!
Glad it helped!
Thank you so much for this video. i was facing exactly the same issue and i was clueless how to fix it. This video saved my time and its very helpful.
Glad it helped
Same for me too...
I was going crazy over this. Sincerely thank you.
Thanks a lot
Hi, great step-by-step tutorial! I followed your instructions up to about 7:40 and noticed there is no .zshrc file when I attempted to open it through terminal. I ended up figuring it out with some google searching, but maybe leave a comment or annotation in your video in case someone else runs into the same issue. Thanks again!
You can create that file using touch command
@@LearnProgrammingYourself I did, thank you. 👍
@DominionDee great
after 4 hour of struggle on yt finally got this video
Thank you🙂
thankyou it's perfectly work i spend lot of time to this installation finally your video is helped me
Thanks a lot.
thanks bro it worked for me and now I can practice sql on my mac and at 7:40 even I also got the same massage that zshrc file was not found but I tried to open some other file which is already exist then I copied the path there and finally it worked, once again thank you bro...
Thanks a lot
I have same problem, How do you did?
Very helpful and step-by-step installation video.
thank you
Thank you. This video was superhelpful!!
Thank you so much for this video. This video saved my time and its very helpful. 🤘🤘🤘
at 8:25 did it ask to enter password?what did you do ?
try a lot of tutorial, this one is the most helpful !!!!
Thanks a lot
Thanks for yhis video! Actually works!
Glad it helped!
It worked. Thanks so much man
You are an angel!!! tks for your help!
Thanks a lot
Thank you so much for this video brother 😍
Thanks a lot
Thank you so much. This is helpful
Glad it was helpful!
Brother i am not finding /usr folder on my mac please help me
try to search /usr/local
Same bro i am not finding /usr
thanks brother .... this helped
Glad it helped
Thank you so much. I also suggest too that you explained about how to create the ‘touch. zshrc’ on the video. Will be very helpful.
Yes noted
how can i create 'zshrc'
@@LearnProgrammingYourself
Use touch command
I become crazy trying to connect to updated mySQL server . And this video made me normal again. BUT then npm and npx commands were NOT FOUND! And I'm crazy again. Now zsh do not know ANY command! even ls. Then i've switched to bash, mess around with PATH. Now all works
Glad to hear it.
I have done everything and it's successful as per your video. How do i launch the software though?
nevermind, Oh so we need to download the workbench separately. you guys should mention that to help guide people
Thanks
gracias. saludos desde Chile
i cant find .zhrc
thank you, it worked
thanks a lot
Thanks a lot sir!!
Thanks a lot for watching
Thanks you so much!
Thanks a lot bruhh
Happy to help
which password we have to enter either password for root or mac password?
thank u really really much ❤❤❤
Thanks a lot
Having trouble with one thing here... when in the terminal zshrc is not there. Does this directory have to be created?
i got stuck at the point you opened the ".zhrc" what do I do
hey, can you please help me..after downloading the sql, my active instance is showing red dots and green dots, its not being constant. can you please suggest me any solution.
thank you so much doneeeee
Hey at 5.30 im not getting a option for copy bin as pathname what to do
You have press and hold options button on your mac and then right click
Thank u so much....
Thanks a lot
I have a problem, when I start a server, it auto disconnects in 3 seconds! have any solution for this?
At 8:03 i followed all the steps very carefully but after i typed that command it says "command not found".What do i do?
Have you solved it?? I am having the same issue. Can you please share ?
@@sandiplimbu3861 nope i cant ;( i hate doing this...
Thanks Bhai
thank you
When I install mysql server the instances don't start and won't start. I've looked everywhere online and can't figure out what my problem is.
it says zshrc does not exist, now what to do?
i can't locate the usr file after using the spotlight. please what should I do
Open the finder and press CMD-SHIFT-G ..pops up a search window...type in there(/usr)..
I don't hava .zshrc file in my mac
what should I do?
You can create new file using touch command
what u did
same problem
At 8:18,I'm getting my password wrong even though it is the same.Did it ask to type the password for you?
same
says password is wrong meanwhile i am inputting the right password
Bro open .zshrc not working what should i do
I can't find my /usr file. Does anyone here know why? Thanks in advance
permission denied for creating bash file
help
why do i touch: bash_profile: permission denied. why i alway do not have the permisson new to mac can anyone help thnks
ssms for m2 ? silicon based?
Silicon
I didt find /usr folder tell me how to find this 5:01 .?
How to solve this error--
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). --- its showing this to me...🤨
have you got the solution? I am also getting the same issue
@@onlyamaras just install the previous version of that then it will never happen again okay
I did everything, entered the password, and it threw me an error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES). Anything am doing wrong?
not sure because you might be giving wrong password.
It worked eventually
Thank you.
@@erickawino9978 what did u do differently
Bro I didn't have zhchr file
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - getting this issue at the end after following all the steps. Any help over here
Ls -a is not working for me
Hi I am entering correct password but I am getting error 2002 something like this can you help me
did you get it?
When editing the .zshrc file, i am getting an error saying the file is locked and I can only make changes to a duplicate of it. How to fix this issue?
A .zshrc file already exists when I run the 'ls -a' command and the contents are below. Looks like it was created when I installed Anaconda on my M1 MacBook Air.
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
#
just write path under that. in my case it worked
what if forgot the password?how to change that
it show bas profile is not exist in terminal
i didn't find the file /usr ??!
I have no usr folder
there isnt even /usr ??? help please
i can open .zshrc pls help
3:49 i searched ls - a, it's showing "no such file or directory"
Same
i am stuck at the end
and how to access phpmyadmin?
bro i could't find /usr why
How to put passwords
Zshrc file does not exist bata rha hai
you can create it using touch command
❤❤
❤️
after doing all this am not getting mysql in finder..
ye i don't undersatnd either i think we need to download something else ?
ERROR 2002 (HY000) show ho rha hai :/
do anybody know how to fix this? i have my exams in jan :(
says password is wrong meanwhile i am inputting the right password how can i fix this
You would need to enter your Mac's password then its will ask for the root password
@@ridwanayinla7704 ok
@@ridwanayinla7704 this worked thanks
Te amo
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I am getting this error after entering "mysql -u root -p"
Please help me out !!!!
I have the same problem
I have already have .bash_profile folder but the thing is I am seeing the few lines of code for anaconda, should I have to replace them with this or else I have to do any modifications, I am pasting all the content for .bash_profile please checkout out and let me know.
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
#
many thanks, I had a access denied on the root user @localhost using the password. creating a black .zshrc and adding the =${PATH} like the .bash_profile
anyone figure out the password and why its not working? i got an error code "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
After 8:10 I'm getting ----->. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
@@riyajadhavyt no
Same here … someone please help