Installing MySQL BCIS 3680 Enterprise Programming
Installing MySQL Download the Community Server Edition of MySQL (version ) from the course website: /mysql-installer-community msi /mysql-installer-community msi If you want to download the latest version, bear in mind that it has not been tested for the course. Latest MySQL Community Server Edition: Run the installer. Configure MySQL. 2
MySQL Community Server Download 3
Installing MySQL 4
Skip Undate 5
Server Only 6
Keep Going 7
Get Set 8
Almost There 9
Go! 10
Configuring Server 11
Select “Show Advanced Options” 12
Set a Password 13 Set password; “bcis3680” is recommended
Change Service Name 14 Change the service name to MySQL
Keep Going 15
Keep Going 16
Fingers Tapping… 17
Finally! 18
Add Path 19 Open the Windows Environment Variables dialog, just like what we did when configuring Tomcat. Edit the system path variable. To the end of the current value, append the path to the \bin subfolder of the MySQL installation folder In Windows 7 and Windows 8, the default is C:\Program Files\MySQL\MySQL Server 5.6\bin
Start Console with Admin Rights 20 Right-click the Command Console icon, and Select “Run as administrator” in the pop-up menu (Windows 7) Click the “Run as administrator” icon (Windows 8)
Start Console with Admin Rights 21 Click “Yes” in the UAC dialog box.
Make Sure MySQL Is in the PATH 22
Quick Verification Run mysqlshow –u root –p Enter the password when prompted. If you can see a listing of the databases that come with MySQL, your installation is good. 23
Another Fast Check List the tables in the included “mysql” DB by running: mysqlshow mysql –u root –p 24
Now You’re Ready to Go! 25