Published on August 8, 2017 by ProgrammingKnowledge
Want create site? Find Free WordPress Themes and plugins.

In this post we will learn how to How To Install MySQL on Mac OS X. The same procedure can be used for installing MySQL on Mac OS X.

How to add MySQL to $PATH variable:
cd to your home folder
$ open -t .bash_profile
Try adding the following line to your .bash_profile file.
export PATH=${PATH}:/usr/local/mysql/bin/

Setting the MySQL root user password on OS X
$ mysql -u root -p
mysql$ ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘MyNewPass’;

————————-Follow——————-
My Website – www.codebind.com
My Blog – goo.gl/Nd2pFn
My Facebook Page – goo.gl/eLp2cQ
Google+ – goo.gl/lvC5FX
Twitter – twitter.com/ProgrammingKnow
Pinterest – goo.gl/kCInUp
Text Case Converter – goo.gl/pVpcwL
Epoch Timestamp Converter – goo.gl/Zedjo5
Decimal – Binary – Hexadecimal Converter – goo.gl/rkX3JE
8-bit Checksum Calculator – goo.gl/inxvIT

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

10 Comments on "How To Install MySQL on Mac OS X"

Notify of
avatar

Christelle
Guest
Christelle
11 days 19 hours ago

Thanks!

djjaewon
Guest
djjaewon
20 days 6 hours ago

Hey guys, I press start, input my mac password, but it never starts and turn green? what do you think is wrong?

Matthew Hewes
Guest
Matthew Hewes
24 days 2 hours ago

perfect!

Ketan Saksena
Guest
Ketan Saksena
25 days 4 hours ago

I didn't get any password after the installation process was over. I did installation two times still didn't get it

Nicholas Kloss
Guest
Nicholas Kloss
8 days 20 hours ago

Edney Santos that link is dead

Édney Santos
Guest
Édney Santos
21 days 7 hours ago

follow this link (coolestguidesontheplanet.com/remove-mysql-from-macos-or-osx-via-the-command-line/) to uninstall MySQL server.After you uninstall it run the installation again, you should get it.

John Fraser
Guest
John Fraser
28 days 19 hours ago

Great work. Very clear and makes the process easy to follow.

Siddhant Ranjan Singh
Guest
Siddhant Ranjan Singh
1 month 4 days ago

great help man. thank you

TheCodingProject
Guest
TheCodingProject
1 month 26 days ago

nice one.

senmmmut
Guest
senmmmut
2 months 6 days ago

hi, when I open the workbench and press Local instance 3306, nothing happens, no password asking. Please advice, thanks

wpDiscuz