0% found this document useful (0 votes)
134 views

Mysql Installation Guide: Download Webpage

This document provides instructions for downloading and installing MySQL and MySQL Workbench on Windows. It outlines the steps to download the installation files, complete the typical installation and configuration processes, and set up the root user password and other options. It also includes a short user guide on how to configure a new database connection in Workbench, run an SQL script file to create a sample table, and view records in that table. The guide demonstrates the basic processes for installing, configuring, and using MySQL and Workbench on Windows.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views

Mysql Installation Guide: Download Webpage

This document provides instructions for downloading and installing MySQL and MySQL Workbench on Windows. It outlines the steps to download the installation files, complete the typical installation and configuration processes, and set up the root user password and other options. It also includes a short user guide on how to configure a new database connection in Workbench, run an SQL script file to create a sample table, and view records in that table. The guide demonstrates the basic processes for installing, configuring, and using MySQL and Workbench on Windows.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

MySQL Installation Guide

Download webpage http://dev.mysql.com/downloads/ .

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

Installation steps (for Microsoft Windows Platform):

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”.

6. Choose “Standard Configuration” and 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”.

9. After configuration process is completed click “Finish”.

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

2.1 Installation Guide

Installation steps (for Microsoft Windows Platform):

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”.

3. Choose “Complete” setup type and click “Next” and “Install”.

8
4. After installation process is completed click “Finish”.

9
2.2 Short User Guide

2.2.1 Configure New Database Connection

1. Launch MySQL Workbench.

2. In Workspace choose “New Connection” option. Setup window will appear.

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.

5. Double-click on it and SQL Editor for selected DB connection will appear.

11
2.2.2 Working with SQL Script files

1. Open a Database connection as described in 2.2.1 section.


2. In “Object Browser” from the dropdown select default database. In the example database “test” is
selected.

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”.

7. In the selected database the example tables will appear.

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

You might also like