How to Install MySQL on Mac using Homebrew

preview_player
Показать описание

MySQL can be installed using Homebrew, which is a package manager for macOS.

In this video, I’ll show you how to install Homebrew, how to use Homebrew to install MySQL, how to connect, and how to set a password for the root account (as there is no password by default).

Once you’ve done this, you can use MySQL on the command line, or use another IDE such as MySQL Workbench.

Timestamps:
00:00 Getting started
00:28 Install Homebrew
01:41 Install MySQL
03:06 Start MySQL
03:45 Connect to MySQL
04:55 Set a password
Рекомендации по теме
Комментарии
Автор

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

kithowlett
Автор

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

newsewcamis
Автор

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

kiNs_RK-RBF
Автор

Your video was very helpful. Thanks a lot. 🙂

TheTalisman
Автор

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"

yorihyakuju
Автор

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.

radhikakumarimittal
Автор

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?

jenstaveirne
Автор

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

jugveersandher
Автор

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?

abrarhussain
Автор

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

shoumikdaterao
Автор

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

ashokrathod
Автор

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 exited with 5.

juliettevila
Автор

When I tried to install the first time, I see the error in the terminal:

Error: Failure while executing; `cp -pR /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?

TheMan-rigu
Автор

I got very weird case:
> brew services list
Name Status User File
mysql error 256 kostiantyn

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

kostiantynpliusnin
Автор

Thank you so much :) It's very helpful

marinaQA