1. Download MySQL 5.
x Community Server from
https://dev.mysql.com/downloads/mysql/5.7.html#downloads
Note: Don’t download “8.x” version, there are compatibility issues
1.1.1 Steps to install for “Mac”:
a. Download “macOS 10.14 (x86, 64-bit), DMG Archive” by clicking “Download”
button and selecting “No thanks, just start download”.
b. Go the Downloads folder and double-click on the downloaded “dmg” file which
opens pops up a “pkg” which can be installed.
c. While installing it asks the system password, enter and select all defaults
d. While installing a temporary password is generated for
root@localhost:_______, make sure you save this password before you
continue the installation
To verify the installation:
a. Open Spotlight and search for “mysql”
b. On clicking the searched “mysql” it opens a pop-up, using which you can start
and stop “mySql” server using “system password”
c. Checking “mysql” console
a. Got the terminal and enter [if required use “SUDO”]:
i. user$ /usr/local/mysql/bin/mysql -uroot -p
ii. Enter Password: generated password for mysql
b. On successful login we get “mysql” prompt, change the password
i. mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY
'newpassword';
ii. mysql> exit
iii. user$ /usr/local/mysql/bin/mysql -uroot -p
iv. Enter Password: your new password
v. mysql> show databases;
1.1.2 Steps to install for “Windows”:
a. Click on “MySQL Installer for windows: MySQL installer MSI”
b. Select “full installation” and all other default options
c. Make sure you save the password you selected for MySQL
After Installation to verify:
a. Open MySQL 5.7 command line client:
b. Enter the password for “MySQL”
c. msql> show databases