Outdated: Installing MySQL 5.0.2 (Alpha)

A tutorial example is provided on how to install MySQL 5.0.2 (Alpha) on a Windows system.

1. Go to http://dev.mysql.com/downloads/mysql/5.0.html.

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

3. Save the downloaded file, mysql-5.0.2-alpha-win.zip, on your hard disk.

4. Unzip mysql-5.0.2-alpha-win.zip to "\mysql" directory, and double click on "\mysql\setup.exe" to start the installation process.

5. Select the customized installation option, and change the installation target directory to \mysql. Then continue the installation as instructed on the installation window.

6. When asked to configure the database server, select the standard configuration, and uncheck the "Install As Windows Service" checkbox. Then finish the configuration as instructed.

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

\mysql\bin\mysqld --console
nnnnnn 22:25:21  InnoDB: Started; log sequence number 0 43634
\mysql\bin\mysqld: ready for connections.
Version: '5.0.2-alpha'  socket: ''  port: 3306  Source distribution

8. Open another command window and run "\mysql\bin\mysqladmin" to administrate MySQL server:

\mysql\bin\mysqladmin ping
mysqld is alive

\mysql\bin\mysqladmin shutdown

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

Table of Contents

 About This Book

 Introduction of SQL

 MySQL Introduction and Installation

 Introduction of MySQL Programs

 Perl Programs and MySQL Servers

 PHP 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

 Transaction Management and Isolation Levels

 Locks Used in MySQL

 Defining and Calling Stored Procedures

 Variables, Loops and Cursors Used in Stored Procedures

Outdated Tutorials

 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

 Outdated: Creating First Table in MySQL 4.0


 PDF Printing Version