Outdated: Installing MySQL 4.0.18

A tutorial example is provided on how to install MySQL 4.0.18 on a Windows system.

1. Go to dev.mysql.com/downloads Website and select the latest production release.

2. Go to "Windows downloads" and select "Without installer (unzip in C:\)" entry.

3. Save the downloaded file, mysql-4.0.18-win-noinstall.zip, to the temp folder, \temp, on your hard disk.

4. Unzip \temp\mysql-4.0.18-win-noinstall.zip to "\temp\mysql" and move it to "\local\mysql".

5. Open a command window and run "\local\mysql\bin\mysqld" to start MySQL server:

C:\herong>\local\mysql\bin\mysqld --console
22:16:53  InnoDB: Started
ready for connections.
Version: '4.0.18-max-debug'  socket: ''  port: 3306

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

If everything works correctly, you should see MySQL server printing notice and shutting down in the first command window.

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

 Using Administration Statements

 MySQL Server on macOS

 Installing MySQL Server on Linux

 Connection, Performance and Second Instance on Linux

Outdated Tutorials

 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)

Outdated: Installing MySQL 4.0.18

 References

 Full Version in PDF/EPUB