How to Install MySQL on Mac using Homebrew

  Рет қаралды 26,298

Database Star

Database Star

Күн бұрын

Пікірлер: 59
@kithowlett8374
@kithowlett8374 Жыл бұрын
Fantastic tutorial - straight forward and too the point. Thank you!
@DatabaseStar
@DatabaseStar Жыл бұрын
Thanks, glad you liked it!
@newsewcamis
@newsewcamis Жыл бұрын
thank you so much!!! two days here until this video !!!
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad I could help!
@EboniBrown-u5w
@EboniBrown-u5w Жыл бұрын
This tutorial was extremely helpful!
@DatabaseStar
@DatabaseStar Жыл бұрын
Glad it was helpful!
@janeenVarin
@janeenVarin 2 жыл бұрын
Super helpful, thanks!
@DatabaseStar
@DatabaseStar 2 жыл бұрын
You're welcome!
@marinaQA
@marinaQA 2 жыл бұрын
Thank you so much :) It's very helpful
@DatabaseStar
@DatabaseStar 2 жыл бұрын
You’re welcome!
@TheTalisman1981
@TheTalisman1981 2 жыл бұрын
Your video was very helpful. Thanks a lot. 🙂
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Glad it was helpful!
@radhikakumarimittal441
@radhikakumarimittal441 2 жыл бұрын
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".
@yashikabarange550
@yashikabarange550 2 жыл бұрын
It works great!! Thanks
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Great to hear!
@yorihyakuju9275
@yorihyakuju9275 4 ай бұрын
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 4 ай бұрын
Oh I’m not sure how to solve that one unfortunately
@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.
@jugveersandher572
@jugveersandher572 2 жыл бұрын
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 жыл бұрын
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!
@travelwithaash
@travelwithaash Жыл бұрын
Thank You 👌👌👌👌👌
@DatabaseStar
@DatabaseStar Жыл бұрын
You’re welcome!
@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.
@rachelbhoy9563
@rachelbhoy9563 Жыл бұрын
thank you so much!!!
@DatabaseStar
@DatabaseStar Жыл бұрын
You're welcome!
@ak256ak
@ak256ak 2 жыл бұрын
Thanks a lot.
@DatabaseStar
@DatabaseStar 2 жыл бұрын
No problem!
@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.
@mrnobody4675
@mrnobody4675 2 жыл бұрын
Thank you
@DatabaseStar
@DatabaseStar 2 жыл бұрын
You're welcome
@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).
@abrarhussain2459
@abrarhussain2459 Жыл бұрын
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 Жыл бұрын
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 11 ай бұрын
@@DatabaseStar Yes characters were not appearing on the screen however I entered the password and pressed enter. Everything went smoothly then.
@donhugorincon6785
@donhugorincon6785 2 жыл бұрын
Thanks
@DatabaseStar
@DatabaseStar 2 жыл бұрын
You’re welcome!
@rudeadyet1992
@rudeadyet1992 Жыл бұрын
Gracias! :)
@DatabaseStar
@DatabaseStar Жыл бұрын
You’re welcome!
@manjunathangandhimadhi1345
@manjunathangandhimadhi1345 Жыл бұрын
not able to connect with phpMyAdmin
@DatabaseStar
@DatabaseStar Жыл бұрын
Oh what error are you getting?
@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
@themanyoushouldknowabout
@themanyoushouldknowabout 2 жыл бұрын
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 2 жыл бұрын
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
@ukpauchechi
@ukpauchechi 2 жыл бұрын
Thank you!!, this was very helpful.
@DatabaseStar
@DatabaseStar 2 жыл бұрын
Glad it was helpful!
@shrirambalaji2915
@shrirambalaji2915 2 жыл бұрын
Thank you
@DatabaseStar
@DatabaseStar 2 жыл бұрын
You’re welcome!
How to Install MySQL on Mac | Install MySQL on macOS
17:11
ProgrammingKnowledge
Рет қаралды 258 М.
MySQL Workbench Tutorial
17:49
Database Star
Рет қаралды 145 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Hidden FREE Mac Apps!
28:14
Snazzy Labs
Рет қаралды 207 М.
How to Install Homebrew on Mac | How to Install brew on macOS
9:02
ProgrammingKnowledge
Рет қаралды 34 М.
How to install MySQL 8 on macOS using Homebrew
18:29
Muzafar Ali
Рет қаралды 6 М.
How to Install MySQL on macOS (using a DMG File)
8:09
Database Star
Рет қаралды 78 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 94 М.
Run SQL Server on M1/M2 Macbook
10:46
ScriptBytes
Рет қаралды 31 М.
How To Make Your Boring Mac Terminal So Much Better
10:42
Josean Martinez
Рет қаралды 836 М.