MySQL 4.0 Downloads

The software from MySQL AB listed below is licensed under the GNU General Public License (GPL) and is provided "as is" and is without any warranty.

You need to purchase commercial non-GPL MySQL licenses:

Support, training, and certification are also all available.

If you want to be updated on the latest MySQL news and receive tips and hints, you can subscribe to the MySQL Newsletter, and if you want to earn money by selling MySQL products, join the MySQL Affiliate Program.


This is the current gamma release of the MySQL database server.

You can find a description of the major new features in MySQL 4.0 here.

The complete list of changes can be found here. You can find how to upgrade from MySQL 3.23 here.

The Standard binaries are recommended for most users, and includes the InnoDB storage engine. The Max version includes additional features such as the Berkeley DB storage engine and other features that have not been exhaustively tested or are not required for general usage, such as OpenSSL support, user-defined functions (UDFs), and BIG_TABLE support. When these features have matured and proven to be stable, they will be incorporated into future releases of the Standard binaries. The Debug binaries have been compiled with extra debug information, and are not intended for production use, because the included debugging code may cause reduced performance.

Linux downloads

Linux (x86, libc6)Standard4.0.9-gamma11.1MDownload
MD5: 3de8f983ec8b4eda76cb4a593477bb32
 Max4.0.9-gamma6.6MDownload
MD5: 912d8be102113fd495daaf1b7f78d52d
 Debug4.0.8-gamma29.2MDownload
MD5: fdb4576bb520e48974c32611efc2b518
Linux (S/390)Standard4.0.9-gamma9.9MDownload
MD5: ec44c3f76985bc5321f2bfd8607f9cc4
 Max4.0.9-gamma6.5MDownload
MD5: 62510716f4119df56a6e7589ed721601
 Debug4.0.8-gamma26.7MDownload
MD5: 635b102860a8c4fb569960b34c94384c
Linux (IA64)Standard4.0.9-gamma8.2MDownload
MD5: d27b6e24338647f3af4dd5285358356f
 Max4.0.9-gamma8.3MDownload
MD5: 5ddd0cee081a0dac289d0c572c2dd527
 Debug4.0.8-gamma30.0MDownload
MD5: 2559e29833949fbacb91ab06a2b4facf
Linux (Alpha)Standard4.0.9-gamma10.8MDownload
MD5: 606ce9b075281ca57197552dfc961465
 Max4.0.9-gamma11.0MDownload
MD5: 267200f80c052ca36e27df3fa36208ea
 Debug4.0.8-gamma30.7MDownload
MD5: 9f00f5ebdc0491063524844c760a62f0
Linux (Sparc)Standard4.0.7-gamma6.6MDownload
MD5: 568699887e95ba583570c4f11d69519d
 Max4.0.7-gamma6.6MDownload
MD5: 253c4f1570dd94131a3c62b5045e9cdf
 Debug4.0.7-gamma14.2MDownload
MD5: 526d24485fb355d3782ce83db0082b18

Linux x86 RPM downloads

Server4.0.9-08.3MDownload
MD5: 11d8306f0440faf42e70fc43e7dd39ee
 Max4.0.9-01.5MDownload
MD5: 159e253c869afb02c5de33a6256ed47a
Benchmark/test suites4.0.9-01.8MDownload
MD5: 7713a5ced45bc75888f964e91eed3e37
Client programs4.0.9-02.3MDownload
MD5: e8f616061d43d708e6291c634b238f66
Libraries and header files4.0.9-0932.5KDownload
MD5: 2c0d96f994d1a4f6e8e0b8b8e951aae8
Dynamic client libraries4.0.9-0258.8KDownload
MD5: 8725547f56b4dae47027c461e92ebc96
Embedded server4.0.9-01.6MDownload
MD5: 63c07fe0ca65b745f7366df01ea52255

Windows downloads

The Windows binaries use the Cygwin library. Source code for the version of Cygwin we have used is available on this page.

Windows 95/98/NT/2000/XP4.0.9-gamma20.0MDownload
MD5: d9686d7ba6469e6a9d1d15e792ff54d8

Solaris downloads

Note: Because of a bug in the Solaris version of tar, you must use gnu tar to unpack these downloads.

Solaris 2.9 (Sparc, 64-bit)Standard4.0.9-gamma7.2MDownload
MD5: 1679409b23bea6ca5e640307675ac75c
 Max4.0.9-gamma7.5MDownload
MD5: 9587df39a40e0f58310d0008e046fe8e
 Debug4.0.8-gamma16.6MDownload
MD5: 18bfc2e5f873409e9201de70af6e0177
Solaris 2.9 (Sparc, 32-bit)Standard4.0.7-gamma6.6MDownload
MD5: f095ca67d096d6659e998d021c534434
 Max4.0.7-gamma6.9MDownload
MD5: 3a3ea5510fe6ecb94fa6b1bb750a1241
 Debug4.0.7-gamma34.1MDownload
MD5: cc9658e665a0aabe40d96524d9d79743
Solaris 2.8 (Sparc)Standard4.0.9-gamma7.0MDownload
MD5: 24981f6299eea0ab124e679606293faf
 Max4.0.9-gamma7.3MDownload
MD5: 93b44f5d94b13e273baeb5a8496da99d
 Debug4.0.8-gamma33.9MDownload
MD5: e25acd0cf91c71ee96285f3483e3e936

FreeBSD downloads

FreeBSD 4.x ELF (x86)Standard4.0.9-gamma6.0MDownload
MD5: 0fcd55ee9ca3df30d0fecdf85169374b
 Max4.0.9-gamma6.2MDownload
MD5: 02e760285273305f8bf73ac6082816c8
 Debug4.0.8-gamma11.1MDownload
MD5: 54ef454618f5c6fa51ab9ee15e53790e

Mac OS X downloads

Mac OS X v10.2Standard4.0.9-gamma6.7MDownload
MD5: abd4b8b805f61b8633096929414d858f
 Max4.0.9-gamma6.2MDownload
MD5: c58a5a45291d8f5671033c56d1a31f10
 Debug4.0.8-gamma15.5MDownload
MD5: e2b5d7d461b7aed4d6c51b69ec2c8309

HP-UX downloads

HP-UX 10.20 (RISC 1.0)Standard4.0.9-gamma7.6MDownload
MD5: eec6812b87df5e37aecdf939faf60464
 Max4.0.9-gamma7.7MDownload
MD5: 5a4d5342602f48f4edf1e52d30737a70
 Debug4.0.7-gamma23.3MDownload
MD5: 44365248d3f9d054067cadd9360dd6df
HP-UX 11.11 (RISC 2.0)Standard4.0.9-gamma7.9MDownload
MD5: db4dfd02e25d7f99a7f2914a4bea7a2d
 Max4.0.9-gamma8.2MDownload
MD5: 9010ac12ea46fcc550ca46d10cde3ea5
 Debug4.0.8-gamma20.3MDownload
MD5: 60af54b7e900e8bffaeebea4fe7339da

AIX downloads

AIX 5.1 (RS6000)Standard4.0.9-gamma7.6MDownload
MD5: d74143ceab5bdd781c8ad95608c934fc
 Max4.0.9-gamma8.0MDownload
MD5: 2df1bc89e3dca982ba40e029e4190ff2
 Debug4.0.8-gamma20.0MDownload
MD5: 0506b8049a17fcbbb2505d5220837d2d
AIX 4.3.x (RS6000)Standard4.0.9-gamma7.5MDownload
MD5: df2dbdf3d7a749a2d0d19a2884e99578
 Max4.0.9-gamma8.3MDownload
MD5: 148fe2fc746a33d2227e13af858bb27f
 Debug4.0.8-gamma18.7MDownload
MD5: 49f76a6d0a6b2dc68c00c66c12588e16

SCO downloads

These and the following packages have been built on third-party systems that were kindly made available to MySQL AB for compiling purposes. They are offered as a courtesy only, MySQL AB does not support these.

SCO OpenUnix 8.0 (x86)Standard4.0.8-gamma6.2MDownload
MD5: da36c3a3950b7ac248483bd195411fca
 Debug4.0.8-gamma24.7MDownload
MD5: 7cc2b338cb1af346fc8f1fd646446f67

SGI Irix downloads

SGI Irix 6.5Standard4.0.9-gamma7.6MDownload
MD5: 7147f82fb9d8e72d8b3838784ef825b8
 Max4.0.5-beta7.8MDownload
MD5: daeca1ae867884cc62484350c84a124a
 Debug4.0.7-gamma21.9MDownload
MD5: 2efb77001e201055ea39ccae0b13d44f

Dec OSF downloads

Dec OSF 5.1 (Alpha)Standard4.0.9-gamma8.1MDownload
MD5: 4450826ec91607e8c825143100f57e77
 Max4.0.9-gamma8.1MDownload
MD5: 1860ebfb4a499f086bb3f6ab205474aa
 Debug4.0.8-gamma15.2MDownload
MD5: b5942296070c2ae2845d92a57f2d1a6d

Source downloads

Compiler Advisory: Several users have reported random crashes and table corruptions when using MySQL binaries compiled with gcc 2.96 on the x86 Linux platform. We suggest that you use gcc 2.95 or gcc 2.91 to compile your own binaries. It should also be safe to use gcc 3.2.

For maximum stability and performance, we recommend that you use the binaries we provide.

Tarball (tar.gz)4.0.9-gamma11.5MDownload
MD5: 75d582f3e71e21cd6ffa7c84a6db26c3
Windows Source (zip)4.0.9-gamma12.0MDownload
MD5: b50b2557d35fe36d4128645f3ab0f0f4