Install mysql in 5 minutes
Hi I will give you summary for simple mysql installation on mac
the first is download
here: https://dev.mysql.com/downloads/mysql/8.0.html download extension dmg for mac
after finished, go to file downloader or place do you download folder, and install them, I think for the installation is so simple you can continue and continue,
after that, go to install mysql workbench for getting UI for easier to use or manage your database.
here: https://www.mysql.com/products/workbench/
next, go to terminal and put this line code
copy this code “export PATH=${PATH}:/usr/local/mysql/bin/”
to file .bash_profile,

if you don’t have it, you can create first with this command
# touch .bash_profile
and don’t forget to make sure your terminal position on the root directory, (I mean doesn’t in another directory).
/usr/local/mysql/bin/ this file is a location where you mysql default installed.
allright almost completed, check your mysql is ready to use or not
open the terminal and follow the command below
# mysql -u root -p
if you have asked to password u can ignored and just click enter;
this is a last step if u want to set password for login on your mysql
follow this command below
mysql > ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘put your password here’
check if this work, close your terminal and go back login to your mysql with this command # mysql -u root -p , and put the password what u create before.
hope this help thank you