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

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

Notify of
avatar

Joshua Oladipo
Guest
Joshua Oladipo
9 days 6 hours ago

Access denied for user 'root'@'localhost' (using password: YES)

Megha Agarwal
Guest
Megha Agarwal
10 days 5 hours ago

When I finished installing the dmg file, I wasn't shown any password, i.e. corresponding to 4:40 for you.

asdfasdfadsfasdfasdfa
Guest
asdfasdfadsfasdfasdfa
11 days 35 minutes ago

Thanks

Gadari Likitha Reddy
Guest
Gadari Likitha Reddy
9 days 17 hours ago

I forgot to note down the root password. can u help me please its asking password

kenneth okereke
Guest
kenneth okereke
14 days 35 minutes ago

How do you create a .bash_profile in the bin?

Shah Razzakh Mohammed
Guest
Shah Razzakh Mohammed
15 days 15 hours ago

Thanks for making this video.

Kontroversi
Guest
Kontroversi
20 days 23 hours ago

Thank you soOooOooOOooo MUCH!! Extremely helpful, detailed, and easy to follow! Very much appreciated!

Anh Hoàng
Guest
Anh Hoàng
23 days 6 hours ago

Have two problem here, i wll tel you and how to fix it1. When you finish install it's not show password, don't worry, 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.2. Access denied for user 'root'@'localhost'. Stop MySql Server and then start again, it's work. Hope it's work fine.

saurabh somani
Guest
saurabh somani
24 days 15 hours ago

Great video. Thank you so much !!

Jiaxu Fan
Guest
Jiaxu Fan
25 days 19 hours ago

Thank you so much!

latifa zahour
Guest
latifa zahour
27 days 5 hours ago

thank you. much appreciated !

1 2 3 8
wpDiscuz