MySQL Tutorials - Herong's Tutorial Examples - v4.41, by Dr. Herong Yang
Outdated: Installing MySQL 5.5.15
A tutorial example is provided 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:
C:\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:
C:\herong>\local\mysql\bin\mysqladmin ping mysqld is alive C:\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
MySQL Introduction and Installation
Introduction of MySQL Programs
Perl Programs and MySQL Servers
Java Programs and MySQL Servers
Character Strings and Bit Strings
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
Defining and Calling Stored Procedures
Variables, Loops and Cursors Used in Stored Procedures
System, User-Defined and Stored Procedure Variables
Using Administration Statements
Installing MySQL Server on Linux
Connection, Performance and Second Instance on Linux
Outdated: Installing MySQL 5.7.10 with Installer
Outdated: Issues MySQL 5.7.10 Installer
Outdated: MySQL Connector/J 5.1 Installation
Outdated: Installing MySQL 5.6.28
►Outdated: Installing MySQL 5.5.15
Outdated: Installing MySQL 5.0.2 (Alpha)