How To Install MySQL on Mac OS X

Posted on Apr 15 2018 - 5:22am by Techy Hints



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 – http://www.codebind.com
My Blog – https://goo.gl/Nd2pFn
My Facebook Page – https://goo.gl/eLp2cQ
Google+ – https://goo.gl/lvC5FX
Twitter – https://twitter.com/ProgrammingKnow
Pinterest – https://goo.gl/kCInUp
Text Case Converter – https://goo.gl/pVpcwL
————————-Stuff I use to make videos ——————-
Stuff I use to make videos
Windows notebook – http://amzn.to/2zcXPyF
Apple MacBook Pro – http://amzn.to/2BTJBZ7
Ubuntu notebook – https://amzn.to/2GE4giY
Desktop – http://amzn.to/2zct252
Microphone – http://amzn.to/2zcYbW1
notebook mouse – http://amzn.to/2BVs4Q3
——————Facebook Links —————————————-
http://fb.me/ProgrammingKnowledgeLearning/
http://fb.me/AndroidTutorialsForBeginners
http://fb.me/Programmingknowledge
http://fb.me/CppProgrammingLanguage
http://fb.me/JavaTutorialsAndCode
http://fb.me/SQLiteTutorial
http://fb.me/UbuntuLinuxTutorials
http://fb.me/EasyOnlineConverter
——————-Online Courses to learn—————————-
Java – https://bit.ly/2H6wqXk
C++ – https://bit.ly/2q8VWl1
AngularJS – https://bit.ly/2qebsLu
Python – https://bit.ly/2Eq0VSt
C- https://bit.ly/2HfZ6L8
Android – https://bit.ly/2qaRSAS
Linux – https://bit.ly/2IwOuqz
AWS Certified Solutions Architect – https://bit.ly/2JrGoAF
Modern React with Redux – https://bit.ly/2H6wDtA
MySQL – https://bit.ly/2qcF63Z

source

About the Author

Geeky Magazine provides you with the daily latest technical news, reviews, startups, and every new in the internet world.