How to Install MySQL on Mac using Homebrew

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 59

  • @kithowlett8374
    @kithowlett8374 Рік тому +3

    Fantastic tutorial - straight forward and too the point. Thank you!

  • @newsewcamis
    @newsewcamis 11 місяців тому

    thank you so much!!! two days here until this video !!!

  • @EboniBrown-u5w
    @EboniBrown-u5w Рік тому

    This tutorial was extremely helpful!

  • @yorihyakuju9275
    @yorihyakuju9275 2 місяці тому

    thkx for tutorial , when i " brew services start mysql" i have this error message "Error: Formula `mysql` has not implemented #plist, #service or installed a locatable service file"

    • @DatabaseStar
      @DatabaseStar  2 місяці тому

      Oh I’m not sure how to solve that one unfortunately

  • @ukpauchechi
    @ukpauchechi Рік тому

    Thank you!!, this was very helpful.

  • @radhikakumarimittal441
    @radhikakumarimittal441 2 роки тому +1

    Hi i m not able to download mysql using brew its showing:
    “ No available formula with the name "mysql".
    ==> Searching for similarly named formulae...
    Error: No similarly named formulae found.
    ==> Searching for a previously deleted formula (in the last month)...
    Error: No previously deleted formula found.
    ==> Searching taps on GitHub...
    Error: No formulae found in taps.”
    what should i do.

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      Hmm I remember getting this error once but I forgot what the solution was. I would suggest Googling for No available formula with the name "mysql".

  • @TheTalisman1981
    @TheTalisman1981 2 роки тому

    Your video was very helpful. Thanks a lot. 🙂

  • @janeenVarin
    @janeenVarin 2 роки тому

    Super helpful, thanks!

  • @kiNs_RK-RBF
    @kiNs_RK-RBF Рік тому

    thank you so much. your video is just perfect. well structured better accent, and result oriented. I've been trying to install mysql watching others videos and they are not as detailed as this. thank you again. but have one more issue; I successfully installed all- mysql, server, and workbench, but now the workbench can't work as it says my Os is Mac OS big Sur 11. and it requires Mac OS big Sur 13... please I'm stuck here. and Installation and setup have delayed my personal training for months...

    • @DatabaseStar
      @DatabaseStar  Рік тому

      Glad the video helped! I did a quick Google and found that you could use older versions of MySQL Workbench with Big Sur, such as 8.0.24. Search for that on Google and you should see some results.

  • @jenstaveirne6247
    @jenstaveirne6247 2 роки тому

    Thanks! I just installed homebrew on my M1 Macbook Pro but when I try to do the step "brew install mysql" I get the notification "zsh: command not found: brew"
    Help?

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      Oh that's odd. I think that error indicates that homebrew is not installed, but I don't know why it wouldn't be. I would suggest Googling the error, perhaps that can show a solution.

  • @jugveersandher572
    @jugveersandher572 2 роки тому +1

    When I type "brew install mysql". It is saying, no available formula with the name "mysql". I have Mac M1 Monetary btw.

    • @jugveersandher572
      @jugveersandher572 2 роки тому

      Is mysql no longer compatible with homebrew?

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      Hmm, I just had a quick Google and it seems that mysql on homebrew is compatible with both the M1 and the older CPU, and recent versions of macOS (info here: formulae.brew.sh/formula/mysql)
      Perhaps you could try some of the steps suggested on some StackOverflow pages? Some of them mention running "brew doctor".

    • @magicyue387
      @magicyue387 2 роки тому +2

      Maybe try command: `brew doctor` , and then `brew update` to update the dependencies. After the done the above, type `brew install mysql`. Hope this will help! I am M1 mac as well, and I just installed it successfully!

  • @yashikabarange550
    @yashikabarange550 2 роки тому

    It works great!! Thanks

  • @rachelbhoy9563
    @rachelbhoy9563 Рік тому

    thank you so much!!!

  • @travelwithaash
    @travelwithaash Рік тому

    Thank You 👌👌👌👌👌

  • @abrarhussain2459
    @abrarhussain2459 10 місяців тому

    once i run the homebrew comand on terminal it shows following message
    ==> Checking for `sudo` access (which may request your password)...
    Password:
    after this i am not able to type on terminal. I know the password but I can't type it. Whats the solution to this?

    • @DatabaseStar
      @DatabaseStar  10 місяців тому +1

      What do you mean when you say you can’t type it?
      Perhaps the Terminal shows a prompt and when you enter the password the characters don’t appear on the screen, if so then this may be correct and the password will still be accepted.

    • @abrarhussain2459
      @abrarhussain2459 9 місяців тому

      @@DatabaseStar Yes characters were not appearing on the screen however I entered the password and pressed enter. Everything went smoothly then.

  • @ak256ak
    @ak256ak Рік тому

    Thanks a lot.

  • @shrirambalaji2915
    @shrirambalaji2915 Рік тому

    Thank you

  • @ashokrathod3450
    @ashokrathod3450 2 роки тому

    getting error : ➜ ~ mysql -u root
    zsh: command not found: mysql

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      I am guessing you need to add mysql to your bash profile.

  • @shoumikdaterao5446
    @shoumikdaterao5446 2 роки тому

    Its throwing an error
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      That error usually means the username and password are incorrect. Did you enter the details as mentioned in the video? If you did, then perhaps there's another issue (e.g. MySQL is not running).

  • @donhugorincon6785
    @donhugorincon6785 2 роки тому

    Thanks

  • @rudeadyet1992
    @rudeadyet1992 Рік тому

    Gracias! :)

  • @manjunathangandhimadhi1345
    @manjunathangandhimadhi1345 Рік тому

    not able to connect with phpMyAdmin

  • @juliettevila3640
    @juliettevila3640 2 роки тому

    Thanks for your video but when i tried i got this error.:
    % brew services start mysql
    Bootstrap failed: 5: Input/output error
    Try re-running the command as root for richer errors.
    Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/ophelie/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      Oh I haven't seen that error before, so I'm not sure how it could be resolved.

    • @pavlokochan3147
      @pavlokochan3147 Рік тому

      me too

  • @TheMan-ri9gu
    @TheMan-ri9gu Рік тому

    When I tried to install the first time, I see the error in the terminal:
    Error: Failure while executing; `cp -pR /private/tmp/d20221216-27065-eqt35d/gdbm/. /usr/local/Cellar/gdbm` exited with 1. Here's the output:
    cp: utimes: /usr/local/Cellar/gdbm/.: Operation not permitted
    cp: chmod: /usr/local/Cellar/gdbm/.: Operation not permitted
    Any help?

    • @DatabaseStar
      @DatabaseStar  Рік тому

      Oh, I've never seen that before. I am guessing because of the terms "cellar" and "chmod", it's something to do with the user not having permissions to modify folders and run the brew command.

  • @kostiantynpliusnin7104
    @kostiantynpliusnin7104 2 роки тому

    I got very weird case:
    > brew services list
    Name Status User File
    mysql error 256 kostiantyn ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
    so far
    > mysql -u root
    works good and I'm able to enter mysql console
    brew reacts as it should on brew services start/stop/restart mysql
    but when I stop it I'm able to 'mysql -u root' any way

    • @DatabaseStar
      @DatabaseStar  2 роки тому

      That is strange, I would assume you can't use mysql when it's not running.

    • @kostiantynpliusnin7104
      @kostiantynpliusnin7104 2 роки тому

      @@DatabaseStar the only real error I can get is when I start mysql 2 times in a row. And error itself is weird
      also when I stop it I still can run mysql console and I still see it with `ps aux | grep mysql`
      here example commands I ran in a row
      > brew services stop mysql
      Stopping `mysql`... (might take a while)
      ==> Successfully stopped `mysql` (label: homebrew.mxcl.mysql)
      > brew services start mysql
      ==> Successfully started `mysql` (label: homebrew.mxcl.mysql)
      > brew services start mysql
      Bootstrap failed: 5: Input/output error
      Try re-running the command as root for richer errors.
      Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/kostiantyn/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.
      > brew services list
      Name Status User File
      mysql error 256 kostiantyn ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
      brew services stop mysql
      Stopping `mysql`... (might take a while)
      ==> Successfully stopped `mysql` (label: homebrew.mxcl.mysql)
      > mysql -u root
      mysql>
      Thank you for response. I'll try to find some logs. And I'll post update if I'll be able to figure out what's wrong

  • @marinaQA
    @marinaQA Рік тому

    Thank you so much :) It's very helpful

  • @mrnobody4675
    @mrnobody4675 Рік тому

    Thank you