Archived: Installing MySQL 5.5.15

This section provides a tutorial example on how to install MySQL 5.5.15 on a Windows system.

1. Go to dev.mysql.com/downloads/mysql/5.5.html Website.

2. Go to "MySQL Community Server 5.5.15" section and click the Download button on the "Windows (x86, 32-bit), ZIP Archive - 5.5.15 - 133.4M" line.

3. Login or register yourself to mysql.com and then select a download mirror site

4. Save the downloaded file, mysql-5.5.15-win32.zip (139,896,749 bytes), to the temp folder, \temp, on your hard disk.

5. Unzip \temp\mysql-5.5.15-win32.zip to "\temp\mysql" and move it to "\local\mysql".

6. Open a command window to start MySQL server:

herong> \local\mysql\bin\mysqld --console
[Note] Plugin 'FEDERATED' is disabled.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use Windows interlocked functions
InnoDB: Compressed tables use zlib 1.2.3
InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
InnoDB: Waiting for the background threads to start
InnoDB: 1.1.8 started; log sequence number 0
[Note] Event Scheduler: Loaded 0 events
[Note] mysqld: ready for connections.
Version: '5.5.15'  socket: ''  port: 3306  MySQL Community Server (GPL)

7. Open another command window and run "mysqladmin" to administrate MySQL server:

herong> \local\mysql\bin\mysqladmin ping
mysqld is alive

herong> \local\mysql\bin\mysqladmin shutdown --user=root

If you see the MySQL server printing notice and shutting down in the first command window, you know that you have installed MySQL 5.5 correctly.

Table of Contents

 About This Book

 Introduction of SQL

 MySQL Introduction and Installation

 Introduction of MySQL Programs

 PHP Programs and MySQL Server

 Perl Programs and MySQL Servers

 Java Programs and MySQL Servers

 Datatypes and Data Literals

 Operations and Expressions

 Character Strings and Bit Strings

 Commonly Used Functions

 Table Column Types for Different Types of Values

 Using DDL to Create Tables and Indexes

 Using DML to Insert, Update and Delete Records

 Using SELECT to Query Database

 Window Functions for Statistical Analysis

 Use Index for Better Performance

 Transaction Management and Isolation Levels

 Locks Used in MySQL

 Defining and Calling Stored Procedures

 Variables, Loops and Cursors Used in Stored Procedures

 System, User-Defined and Stored Procedure Variables

 MySQL Server Administration

 Storage Engines in MySQL Server

 InnoDB Storage Engine - Primary and Secondary Indexes

 Performance Tuning and Optimization

 Bulk Changes on Large Tables

 MySQL Server on macOS

 Installing MySQL Server on Linux

 Connection, Performance and Second Instance on Linux

Archived Tutorials

 Archived: Installing MySQL 5.7.10 with Installer

 Archived: Issues MySQL 5.7.10 Installer

 Archived: MySQL Connector/J 5.1 Installation

 Archived: Installing MySQL 5.6.28

Archived: Installing MySQL 5.5.15

 Archived: Installing MySQL 5.0.2 (Alpha)

 Archived: Installing MySQL 4.0.18

 References

 Full Version in PDF/EPUB