Mysql Installation Guide: Download Webpage
Mysql Installation Guide: Download Webpage
If you are downloading installation files from the webpage for the first time, you will be asked to register.
Note that registration is optional, you can just click on the link “No thanks, just take me to the downloads”.
Contents
1 MySQL Community Server .............................................................................................................................. 2
2 MySQL Workbench ......................................................................................................................................... 8
2.1 Installation Guide .................................................................................................................................... 8
2.2 Short User Guide ................................................................................................................................... 10
2.2.1 Configure New Database Connection ............................................................................................ 10
2.2.2 Working with SQL Script files.......................................................................................................... 12
2.2.3 Working with the Database ............................................................................................................ 15
1
1 MySQL Community Server
1. Download MySQL Community Server 5.5 installation file appropriate for the platform in your
computer from the webpage http://dev.mysql.com/downloads/mysql/ .
2. Open installation file for MySQL Community Server and press “Next”.
2
3. Choose “Typical” setup type, click “Next” and “Install”.
4. After installation process is completed, check “Launch the MySQL Instance Configuration Wizard”
and click “Finish”.
3
5. In “Configuration Wizard” click “Next”.
4
7. Check “Install As Windows Service”, select service name “MySQL”. Check “Launch the MySQL
Server Automatically” (this feature will run service automatically after installation), check to
“Include Bin Directory in Windows PATH” and click “Next”.
5
8. Set a long password for the “root” user, check “Enable root access from remote machines” and do
not create an Anonymous account. Click “Next” and then “Execute”.
6
Note: If you want to reconfigure MySQL Community Server, click Start > All Programs > MySQL > MySQL
Server 5.5 > “MySQL Server Instance Configure Wizard“.
7
2 MySQL Workbench
1. Download MySQL Workbench appropriate for the platform in your computer from webpage
http://dev.mysql.com/downloads/workbench/5.2.html .
2. Open installation file for MySQL Workbench and press “Next”.
8
4. After installation process is completed click “Finish”.
9
2.2 Short User Guide
10
3. Enter the name, hostname and port number for the connection. If you installed MySQL Server
under default settings, you should not change anything here. Enter the password for the “root”
user, which you configured while installing MySQL Server and click “Test Connection”. If
configuration is correct the following screen will appear.
Click “OK”.
4. In the Workspace of MySQL Workbench select the database connection.
11
2.2.2 Working with SQL Script files
3. Download “DSCB.sql ” file from the course webpage. This file contains SQL commands to create DB
table with the name “course”.
4. Select “File > Open SQL Script File”, select the downloaded “DSCB.sql” file and click “Open”.
5. In the menu bar click on “Execute SQL Script in Connected Server”.
12
6. Right-click on the database name in “Object Browser” and click “Refresh All”.
13
14
2.2.3 Working with the Database
1. Right-click on the table name “course” and select “Select Rows - Limit 1000”.
15
2. The result set with four records will appear.
16