Install MySql Server in Macbook M1 / M2

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 167

  • @tarunraj2221
    @tarunraj2221 ปีที่แล้ว +24

    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

  • @petitetomato
    @petitetomato ปีที่แล้ว +3

    Thank you so muchhhh..been struggling for last 3 hours and now finally got my sql ready!

  • @DominionDee
    @DominionDee ปีที่แล้ว +4

    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!

  • @hiruniliyanage98
    @hiruniliyanage98 2 หลายเดือนก่อน +1

    Everything worked well. Thankyou for the clear explanation on the steps!

  • @nimishakashyap
    @nimishakashyap ปีที่แล้ว +2

    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.

  • @hiimyou2409
    @hiimyou2409 ปีที่แล้ว +2

    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?

    • @sandiplimbu3861
      @sandiplimbu3861 10 หลายเดือนก่อน

      Have you solved it?? I am having the same issue. Can you please share ?

    • @hiimyou2409
      @hiimyou2409 10 หลายเดือนก่อน

      @@sandiplimbu3861 nope i cant ;( i hate doing this...

  • @Nature_78678
    @Nature_78678 ปีที่แล้ว +1

    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...

  • @karthikeyareddy4921
    @karthikeyareddy4921 ปีที่แล้ว +7

    Brother i am not finding /usr folder on my mac please help me

  • @souravgujran2041
    @souravgujran2041 ปีที่แล้ว +1

    after 4 hour of struggle on yt finally got this video

  • @billyrobins6515
    @billyrobins6515 3 หลายเดือนก่อน +1

    Thanks a lot dude ♥

  • @srihithavasetti
    @srihithavasetti 6 หลายเดือนก่อน +1

    at 8:25 did it ask to enter password?what did you do ?

  • @anushujan
    @anushujan ปีที่แล้ว +1

    thankyou it's perfectly work i spend lot of time to this installation finally your video is helped me

  • @hareenhelanjith86
    @hareenhelanjith86 11 หลายเดือนก่อน +1

    Thank you so much for this video. This video saved my time and its very helpful. 🤘🤘🤘

  • @srihithavasetti
    @srihithavasetti 6 หลายเดือนก่อน +1

    At 8:18,I'm getting my password wrong even though it is the same.Did it ask to type the password for you?

    • @TheOnlyWayYeshua
      @TheOnlyWayYeshua 6 หลายเดือนก่อน

      same
      says password is wrong meanwhile i am inputting the right password

  • @VanKhue_퀘
    @VanKhue_퀘 ปีที่แล้ว +1

    I was going crazy over this. Sincerely thank you.

  • @rajnandanrathod4305
    @rajnandanrathod4305 3 หลายเดือนก่อน +1

    Thanks a lot ❤

  • @nikhilagrawal9217
    @nikhilagrawal9217 11 หลายเดือนก่อน +1

    Thank you. This video was superhelpful!!

  • @mrestrella4
    @mrestrella4 ปีที่แล้ว +1

    Thanks for yhis video! Actually works!

  • @gyros9162
    @gyros9162 ปีที่แล้ว +1

    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

  • @deshanekanayake1671
    @deshanekanayake1671 8 หลายเดือนก่อน +1

    It worked. Thanks so much man

  • @abdul--
    @abdul-- ปีที่แล้ว +1

    I have done everything and it's successful as per your video. How do i launch the software though?

    • @abdul--
      @abdul-- ปีที่แล้ว +1

      nevermind, Oh so we need to download the workbench separately. you guys should mention that to help guide people

    • @LearnProgrammingYourself
      @LearnProgrammingYourself  ปีที่แล้ว

      Thanks

  • @alfaphil
    @alfaphil 20 วันที่ผ่านมา

    Thank you buddy!

  • @ChaoticCheshtha
    @ChaoticCheshtha ปีที่แล้ว +2

    Hey at 5.30 im not getting a option for copy bin as pathname what to do

  • @sobitha.v4591
    @sobitha.v4591 7 หลายเดือนก่อน

    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.

  • @QinLesley
    @QinLesley ปีที่แล้ว +1

    try a lot of tutorial, this one is the most helpful !!!!

  • @ayrtoncravero
    @ayrtoncravero 11 หลายเดือนก่อน +1

    Thanks you so much!

  • @realrosanaandre
    @realrosanaandre ปีที่แล้ว +1

    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.

  • @AbdulWakilZamani-n7x
    @AbdulWakilZamani-n7x ปีที่แล้ว +1

    Very helpful and step-by-step installation video.

  • @samueloteng8960
    @samueloteng8960 ปีที่แล้ว +1

    i got stuck at the point you opened the ".zhrc" what do I do

  • @sandipchhetry6284
    @sandipchhetry6284 ปีที่แล้ว +1

    thanks brother .... this helped

  • @rukaiyanishfan8912
    @rukaiyanishfan8912 ปีที่แล้ว +1

    thank you, it worked

  • @shivaramkumarjella9881
    @shivaramkumarjella9881 ปีที่แล้ว +2

    I don't hava .zshrc file in my mac
    what should I do?

  • @Veerendra-y4x
    @Veerendra-y4x ปีที่แล้ว +1

    Thank you so much for this video brother 😍

  • @bhanureddy3014
    @bhanureddy3014 7 หลายเดือนก่อน

    I have a problem, when I start a server, it auto disconnects in 3 seconds! have any solution for this?

  • @msgsquad5982
    @msgsquad5982 ปีที่แล้ว +1

    Thanks a lot bruhh

  • @SeyiJamesPopoolaP91
    @SeyiJamesPopoolaP91 ปีที่แล้ว +1

    i can't locate the usr file after using the spotlight. please what should I do

    • @charanp7963
      @charanp7963 ปีที่แล้ว

      Open the finder and press CMD-SHIFT-G ..pops up a search window...type in there(/usr)..

  • @tonybelden959
    @tonybelden959 ปีที่แล้ว

    Having trouble with one thing here... when in the terminal zshrc is not there. Does this directory have to be created?

    • @shraddharattnel6435
      @shraddharattnel6435 3 หลายเดือนก่อน

      same . what did you do then?

    • @tonybelden959
      @tonybelden959 3 หลายเดือนก่อน

      @@shraddharattnel6435 I think the message right below here has the answer you're looking for. from @tarunraj2221

  • @costantinoserafini2252
    @costantinoserafini2252 ปีที่แล้ว +1

    thank u really really much ❤❤❤

  • @rahulkd384
    @rahulkd384 ปีที่แล้ว +5

    i cant find .zhrc

  • @aquashish
    @aquashish ปีที่แล้ว

    I didt find /usr folder tell me how to find this 5:01 .?

  • @KK-rong-1997
    @KK-rong-1997 ปีที่แล้ว +1

    Thank you so much. This is helpful

  • @QamarAdnanBH
    @QamarAdnanBH 11 หลายเดือนก่อน +1

    thank you so much doneeeee

  • @neigmail9937
    @neigmail9937 ปีที่แล้ว +1

    You are an angel!!! tks for your help!

  • @divyansh07
    @divyansh07 ปีที่แล้ว

    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
    #

  • @careren8769
    @careren8769 ปีที่แล้ว +1

    Thanks a lot sir!!

  • @monacojay
    @monacojay ปีที่แล้ว

    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.

  • @vishalmane3139
    @vishalmane3139 ปีที่แล้ว +1

    ssms for m2 ? silicon based?

  • @jasvinderkaur4003
    @jasvinderkaur4003 ปีที่แล้ว

    3:49 i searched ls - a, it's showing "no such file or directory"

  • @crazyloveever2462
    @crazyloveever2462 6 หลายเดือนก่อน +1

    which password we have to enter either password for root or mac password?

  • @erickawino9978
    @erickawino9978 ปีที่แล้ว +1

    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?

  • @charanp7963
    @charanp7963 ปีที่แล้ว +1

    Thank u so much....

  • @B4BUNNYop
    @B4BUNNYop 8 หลายเดือนก่อน

    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). --- its showing this to me...🤨

    • @onlyamaras
      @onlyamaras 7 หลายเดือนก่อน

      have you got the solution? I am also getting the same issue

    • @B4BUNNYop
      @B4BUNNYop 7 หลายเดือนก่อน

      @@onlyamaras just install the previous version of that then it will never happen again okay

  • @anviagrawal3170
    @anviagrawal3170 ปีที่แล้ว +1

    Thanks Bhai

  • @travelvme2350
    @travelvme2350 6 หลายเดือนก่อน

    permission denied for creating bash file
    help

  • @malinasegarceanu2285
    @malinasegarceanu2285 6 หลายเดือนก่อน

    I can't find my /usr file. Does anyone here know why? Thanks in advance

  • @TRahman-u7w
    @TRahman-u7w 6 หลายเดือนก่อน

    it says zshrc does not exist, now what to do?

  • @Sooooooowhatt
    @Sooooooowhatt 8 หลายเดือนก่อน

    Hi I am entering correct password but I am getting error 2002 something like this can you help me

    • @ISHA71351
      @ISHA71351 8 หลายเดือนก่อน

      did you get it?

  • @syuufukuinjp
    @syuufukuinjp 8 หลายเดือนก่อน

    why do i touch: bash_profile: permission denied. why i alway do not have the permisson new to mac can anyone help thnks

  • @naveenrnaveenr6629
    @naveenrnaveenr6629 ปีที่แล้ว

    Bro open .zshrc not working what should i do

    • @shraddharattnel6435
      @shraddharattnel6435 3 หลายเดือนก่อน

      so what did you do, I am facing the issue with it

  • @veerendra335
    @veerendra335 ปีที่แล้ว +1

    ❤❤

  • @elvinqachayli4840
    @elvinqachayli4840 ปีที่แล้ว

    it show bas profile is not exist in terminal

  • @jececdept.9548
    @jececdept.9548 11 หลายเดือนก่อน

    after doing all this am not getting mysql in finder..

  • @hemnaathsurya7577
    @hemnaathsurya7577 ปีที่แล้ว

    After 8:10 I'm getting ----->. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

    • @hemnaathsurya7577
      @hemnaathsurya7577 ปีที่แล้ว

      @@riyajadhavyt no

    • @akhan4153
      @akhan4153 8 หลายเดือนก่อน

      Same here … someone please help

  • @baotoantruong588
    @baotoantruong588 ปีที่แล้ว

    i can open .zshrc pls help

  • @marratouch
    @marratouch 10 หลายเดือนก่อน

    i didn't find the file /usr ??!

  • @hetalsucsd
    @hetalsucsd 7 หลายเดือนก่อน

    How to solve this error--
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

  • @kushalthapa8035
    @kushalthapa8035 ปีที่แล้ว

    I have no usr folder

  • @nirajpatil8806
    @nirajpatil8806 4 หลายเดือนก่อน

    Bro I didn't have zhchr file

  • @s2kslave
    @s2kslave ปีที่แล้ว +1

    Zshrc file does not exist bata rha hai

  • @stevanantic3019
    @stevanantic3019 ปีที่แล้ว

    and how to access phpmyadmin?

  • @rujithvarma178
    @rujithvarma178 ปีที่แล้ว

    bro i could't find /usr why

  • @harshbansal9621
    @harshbansal9621 5 หลายเดือนก่อน

    what if forgot the password?how to change that

  • @rahulshrestha877
    @rahulshrestha877 10 หลายเดือนก่อน

    there isnt even /usr ??? help please

  • @chandraprakashjangir3444
    @chandraprakashjangir3444 ปีที่แล้ว

    ERROR 2002 (HY000) show ho rha hai :/
    do anybody know how to fix this? i have my exams in jan :(

  • @dineshbabui8606
    @dineshbabui8606 4 หลายเดือนก่อน

    Ls -a is not working for me

    • @rajnandanrathod4305
      @rajnandanrathod4305 3 หลายเดือนก่อน

      export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

    • @rajnandanrathod4305
      @rajnandanrathod4305 3 หลายเดือนก่อน

      Use this command directly when u open

    • @rajnandanrathod4305
      @rajnandanrathod4305 3 หลายเดือนก่อน

      When u open terminal

  • @TheOnlyWayYeshua
    @TheOnlyWayYeshua 6 หลายเดือนก่อน

    says password is wrong meanwhile i am inputting the right password how can i fix this

    • @ridwanayinla7704
      @ridwanayinla7704 6 หลายเดือนก่อน

      You would need to enter your Mac's password then its will ask for the root password

    • @TheOnlyWayYeshua
      @TheOnlyWayYeshua 6 หลายเดือนก่อน

      @@ridwanayinla7704 ok

    • @TheOnlyWayYeshua
      @TheOnlyWayYeshua 6 หลายเดือนก่อน

      @@ridwanayinla7704 this worked thanks

  • @simantanath8340
    @simantanath8340 2 หลายเดือนก่อน

    8.20 how u type the password

  • @QamarAdnanBH
    @QamarAdnanBH 11 หลายเดือนก่อน

    i am stuck at the end

  • @abhinavrawat439
    @abhinavrawat439 4 หลายเดือนก่อน

    How to put passwords

  • @varunsuryaalagesan423
    @varunsuryaalagesan423 7 หลายเดือนก่อน

    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

  • @adi_deuner
    @adi_deuner ปีที่แล้ว +1

    Te amo

  • @simantanath8340
    @simantanath8340 2 หลายเดือนก่อน

    How to put password

  • @sudheerakula7443
    @sudheerakula7443 8 หลายเดือนก่อน

    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 !!!!

  • @sudheerakula7443
    @sudheerakula7443 8 หลายเดือนก่อน

    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
    #

  • @spides666
    @spides666 ปีที่แล้ว

    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

  • @fderna11
    @fderna11 8 หลายเดือนก่อน

    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)