Stable Release in branch 5.1
5.1.77
Released 17 Aug 2015
(10 years ago)
SoftwareMySQL
Version5.1
Status
End of life
Initial release5.1.3
29 Nov 2005
(20 years ago)
Latest release5.1.77
17 Aug 2015
(10 years ago)
End of
premier support
TBD
End of
extended support
31 Dec 2013
(Ended 12 years ago)
Release noteshttps://dev.mysql.com/doc/relnotes/mysql/5.1/en/news-5-1-77.html
Source codehttps://github.com/mysql/mysql-server/tree/mysql-5.1.77
Documentationhttps://dev.mysql.com/doc/refman/5.1/en/
Downloadhttps://dev.mysql.com/downloads/mysql/
MySQL 5.1 ReleasesView full list

What Is New in MySQL 5.1

MySQL 5.1 introduced a significant set of features focused on partitioning, event scheduling, and replication. These additions were aimed at improving performance, manageability, and scalability for large-scale database deployments.

Category Key Changes
New Features Partitioning, Event Scheduler, Row-based Replication, Plugin API, Server Log Tables
Improvements Faster data import (LOAD DATA), Disk-based sorting, Enhanced diagnostics
Deprecated TYPE= storage engine option (use ENGINE=)

How does partitioning improve performance?

Partitioning allows you to split a single large table into smaller, more manageable pieces based on a partitioning key. This can dramatically speed up queries that target a specific partition, as the server can avoid scanning the entire table. In practice, this is a game-changer for managing very large datasets like historical logs or time-series data.

You can partition tables by RANGE, LIST, HASH, or KEY. For example, partitioning a sales table by year makes archiving old data and querying the current year much faster.

What can the Event Scheduler do for me?

The Event Scheduler automates database tasks by executing SQL commands at scheduled intervals. This eliminates the need for external cron jobs to handle routine maintenance. You can use it for tasks like nightly data aggregation, cleaning up old records, or generating summary reports.

It's a built-in daemon thread that you control with CREATE EVENT and ALTER EVENT statements. This matters because it keeps your database logic self-contained instead of relying on operating system-level schedulers.

Why is row-based replication important?

Row-based replication (RBR) changes how data is copied to replicas. Instead of logging the SQL statements (statement-based replication), it logs the actual row changes. This improves reliability for replicas because it avoids issues with non-deterministic statements, stored routines, or triggers that can cause data drift.

You can now choose between statement-based, row-based, or mixed-format replication. The mixed format is often the best choice as it uses statement-based by default but automatically switches to row-based for problematic queries.

What's the deal with the Plugin API?

The Plugin API opens up the MySQL server for deeper customization. Developers can write their own plugins to add full-text parsers, new storage engines, or advanced authentication methods. This extensibility was a big step towards making MySQL more modular and adaptable to specific use cases.

While most users will stick with built-in engines like InnoDB, the API enabled a ecosystem of specialized plugins. This is a core reason why MySQL can be tailored for such a wide variety of applications.

FAQ

Should I use partitioning for my application?
Consider partitioning if you have very large tables (think tens of gigabytes) and your queries often use a filter that aligns with a logical partition key, like a date column. For smaller tables, the overhead isn't usually worth it.

Is the Event Scheduler enabled by default?
No, it's turned off by default. You need to start the server with the --event-scheduler=ON option or set event_scheduler=ON in your my.cnf file to use it.

When should I use row-based vs. statement-based replication?
Use row-based replication if you have non-deterministic queries, use stored procedures/functions on the master, or need the most precise data consistency on replicas. Statement-based can be more efficient for bulk updates if your statements are deterministic.

What happened to the TYPE= storage engine option?
The TYPE= option was deprecated in MySQL 5.1. You must use the ENGINE= option instead (e.g., ENGINE=InnoDB). The old syntax might still work but will generate a warning.

How do the server log tables work?
The log output destination for the general query log and slow query log can now be set to TABLE. This writes log entries to the general_log and slow_log tables in the mysql database, making them queryable via SQL.

Releases In Branch 5.1

VersionRelease date
5.1.7717 Aug 2015
(10 years ago)
5.1.7605 Jun 2015
(11 years ago)
5.1.7528 Apr 2015
(11 years ago)
5.1.7426 Mar 2015
(11 years ago)
5.1.7324 Jan 2014
(12 years ago)
5.1.7209 Sep 2013
(12 years ago)
5.1.7101 Jul 2013
(13 years ago)
5.1.7013 May 2013
(13 years ago)
5.1.6920 Apr 2013
(13 years ago)
5.1.6808 Jan 2013
(13 years ago)
5.1.6707 Dec 2012
(13 years ago)
5.1.6611 Sep 2012
(13 years ago)
5.1.6512 Jul 2012
(14 years ago)
5.1.6310 Apr 2012
(14 years ago)
5.1.6202 Mar 2012
(14 years ago)
5.1.6111 Jan 2012
(14 years ago)
5.1.6029 Oct 2011
(14 years ago)
5.1.5910 Aug 2011
(14 years ago)
5.1.5801 Jul 2011
(15 years ago)
5.1.5711 Apr 2011
(15 years ago)
5.1.5610 Feb 2011
(15 years ago)
5.1.5525 Jan 2011
(15 years ago)
5.1.5425 Nov 2010
(15 years ago)
5.1.5303 Nov 2010
(15 years ago)
5.1.5211 Oct 2010
(15 years ago)
5.1.5110 Sep 2010
(15 years ago)
5.1.5003 Aug 2010
(16 years ago)
5.1.4909 Jul 2010
(16 years ago)
5.1.4802 Jun 2010
(16 years ago)
5.1.4706 May 2010
(16 years ago)
5.1.4606 Apr 2010
(16 years ago)
5.1.4501 Mar 2010
(16 years ago)
5.1.4417 Feb 2010
(16 years ago)
5.1.4315 Jan 2010
(16 years ago)
5.1.4216 Dec 2009
(16 years ago)
5.1.4105 Nov 2009
(16 years ago)
5.1.4006 Oct 2009
(16 years ago)
5.1.3904 Sep 2009
(16 years ago)
5.1.3801 Sep 2009
(16 years ago)
5.1.3713 Jul 2009
(17 years ago)
5.1.3616 Jun 2009
(17 years ago)
5.1.3513 May 2009
(17 years ago)
5.1.3402 Apr 2009
(17 years ago)
5.1.3313 Mar 2009
(17 years ago)
5.1.3214 Feb 2009
(17 years ago)
5.1.3119 Jan 2009
(17 years ago)
5.1.3014 Nov 2008
(17 years ago)
5.1.2911 Oct 2008
(17 years ago)
5.1.2828 Aug 2008
(17 years ago)
5.1.2630 Jun 2008
(18 years ago)
5.1.2518 Jun 2008
(18 years ago)
5.1.2408 Apr 2008
(18 years ago)
5.1.2329 Jan 2008
(18 years ago)
5.1.2228 Sep 2007
(18 years ago)
5.1.2120 Aug 2007
(18 years ago)
5.1.2026 Jun 2007
(19 years ago)
5.1.1925 May 2007
(19 years ago)
5.1.1807 May 2007
(19 years ago)
5.1.1705 Apr 2007
(19 years ago)
5.1.1625 Feb 2007
(19 years ago)
5.1.1529 Jan 2007
(19 years ago)
5.1.1406 Dec 2006
(19 years ago)
5.1.1313 Nov 2006
(19 years ago)
5.1.1224 Oct 2006
(19 years ago)
5.1.1102 Jun 2006
(20 years ago)
5.1.913 Apr 2006
(20 years ago)
5.1.727 Feb 2006
(20 years ago)
5.1.608 Feb 2006
(20 years ago)
5.1.510 Jan 2006
(20 years ago)
5.1.421 Dec 2005
(20 years ago)
5.1.329 Nov 2005
(20 years ago)