Software:MySQL

From HandWiki
Short description: SQL database engine software
MySQL
MySQL logo.svg
Mysql-screenshot.PNG
Screenshot of the default MySQL command-line banner and prompt
Original author(s)MySQL AB
Developer(s)Oracle Corporation
Initial release23 May 1995; 29 years ago (1995-05-23)
Stable release
Written inC, C++[1]
Operating systemLinux, Solaris, macOS, Windows, FreeBSD[2]
Available inEnglish
TypeRDBMS
LicenseGPLv2 or proprietary[3]

MySQL (/ˌmˌɛsˌkjuːˈɛl/)[4] is an open-source relational database management system (RDBMS).[4][5] Its name is a combination of "My", the name of co-founder Michael Widenius's daughter My,[6] and "SQL", the acronym for Structured Query Language. A relational database organizes data into one or more data tables in which data may be related to each other; these relations help structure the data. SQL is a language that programmers use to create, modify and extract data from the relational database, as well as control user access to the database. In addition to relational databases and SQL, an RDBMS like MySQL works with an operating system to implement a relational database in a computer's storage system, manages users, allows for network access and facilitates testing database integrity and creation of backups.

MySQL is free and open-source software under the terms of the GNU General Public License, and is also available under a variety of proprietary licenses. MySQL was owned and sponsored by the Swedish company MySQL AB, which was bought by Sun Microsystems (now Oracle Corporation).[7] In 2010, when Oracle acquired Sun, Widenius forked the open-source MySQL project to create MariaDB.[8]

MySQL has stand-alone clients that allow users to interact directly with a MySQL database using SQL, but more often, MySQL is used with other programs to implement applications that need relational database capability. MySQL is a component of the LAMP web application software stack (and others), which is an acronym for Linux, Apache, MySQL, Perl/PHP/Python. MySQL is used by many database-driven web applications, including Drupal, Joomla, phpBB, and WordPress.[9] MySQL is also used by many popular websites, including Facebook,[10][11] Flickr,[12] MediaWiki,[13] Twitter,[14] and YouTube.[15]

Overview

MySQL is written in C and C++. Its SQL parser is written in yacc, but it uses a home-brewed lexical analyzer.[16] MySQL works on many system platforms, including AIX, BSDi, FreeBSD, HP-UX, ArcaOS, eComStation, IBM i, IRIX, Linux, macOS, Microsoft Windows, NetBSD, Novell NetWare, OpenBSD, OpenSolaris, OS/2 Warp, QNX, Oracle Solaris, Symbian, SunOS, SCO OpenServer, SCO UnixWare, Sanos and Tru64. A port of MySQL to OpenVMS also exists.[17]

The MySQL server software itself and the client libraries use dual-licensing distribution. They are offered under GPL version 2, or a proprietary license.[18]

Support can be obtained from the official manual.[19] Free support additionally is available in different IRC channels and forums. Oracle offers paid support via its MySQL Enterprise products. They differ in the scope of services and in price. Additionally, a number of third party organisations exist to provide support and services.

MySQL has received positive reviews, and reviewers noticed it "performs extremely well in the average case" and that the "developer interfaces are there, and the documentation (not to mention feedback in the real world via Web sites and the like) is very, very good".[20] It has also been tested to be a "fast, stable and true multi-user, multi-threaded SQL database server".[21]

History

David Axmark (left) and Michael "Monty" Widenius, founders of MySQL AB, in 2003

MySQL was created by a Swedish company, MySQL AB, founded by Swedes David Axmark, Allan Larsson and Finnish Michael "Monty" Widenius. Original development of MySQL by Widenius and Axmark began in 1994.[22] The first version of MySQL appeared on 23 May 1995. It was initially created for personal usage from mSQL based on the low-level language ISAM, which the creators considered too slow and inflexible. They created a new SQL interface, while keeping the same API as mSQL. By keeping the API consistent with the mSQL system, many developers were able to use MySQL instead of the (proprietarily licensed) mSQL antecedent.[23]

Milestones

Additional milestones in MySQL development included:

  • First internal release on 23 May 1995
  • Version 3.19: End of 1996, from www.tcx.se
  • Version 3.20: January 1997
  • Windows version was released on 8 January 1998 for Windows 95 and NT
  • Version 3.21: production release 1998, from www.mysql.com
  • Version 3.22: alpha, beta from 1998
  • Version 3.23: beta from June 2000, production release 22 January 2001[24]
  • Version 4.0: beta from August 2002, production release March 2003 (unions).
  • Version 4.1: beta from June 2004, production release October 2004 (R-trees and B-trees, subqueries, prepared statements).
  • Version 5.0: beta from March 2005, production release October 2005 (cursors, stored procedures, triggers, views, XA transactions).
    • The developer of the Federated Storage Engine states that "The Federated Storage Engine is a proof-of-concept storage engine",[25] but the main distributions of MySQL version 5.0 included it and turned it on by default. Documentation of some of the short-comings appears in "MySQL Federated Tables: The Missing Manual".[26]
  • Sun Microsystems acquired MySQL AB in 2008.[27]
  • Version 5.1: production release 27 November 2008 (event scheduler, partitioning, plugin API, row-based replication, server log tables)
    • Version 5.1 contained 20 known crashing and wrong result bugs in addition to the 35 present in version 5.0 (almost all fixed as of release 5.1.51).[28]
    • MySQL 5.1 and 6.0-alpha showed poor performance when used for data warehousing – partly due to its inability to utilize multiple CPU cores for processing a single query.[29]
  • Oracle acquired Sun Microsystems on 27 January 2010.[30][31][32]
  • The day Oracle announced the purchase of Sun, Michael "Monty" Widenius forked MySQL, launching MariaDB, and took a swath of MySQL developers with him.[33]
Geir Høydalsvik, current Senior Software Development Director for MySQL at Oracle in 2018
  • MySQL Server 5.5 was generally available ((As of December 2010)). Enhancements and features include:
    • The default storage engine is InnoDB, which supports transactions and referential integrity constraints.
    • Improved InnoDB I/O subsystem[34]
    • Improved SMP support[35]
    • Semisynchronous replication.
    • SIGNAL and RESIGNAL statement in compliance with the SQL standard.
    • Support for supplementary Unicode character sets utf16, utf32, and utf8mb4.[lower-alpha 1]
    • New options for user-defined partitioning.
  • MySQL Server 6.0.11-alpha was announced[36] on 22 May 2009 as the last release of the 6.0 line. Future MySQL Server development uses a New Release Model. Features developed for 6.0 are being incorporated into future releases.
  • The general availability of MySQL 5.6 was announced in February 2013.[37] New features included performance improvements to the query optimizer, higher transactional throughput in InnoDB, new NoSQL-style memcached APIs, improvements to partitioning for querying and managing very large tables, TIMESTAMP column type that correctly stores milliseconds, improvements to replication, and better performance monitoring by expanding the data available through the PERFORMANCE_SCHEMA.[38] The InnoDB storage engine also included support for full-text search and improved group commit performance.
  • The general availability of MySQL 5.7 was announced in October 2015.[39] As of MySQL 5.7.8, August 2015,[40] MySQL supports a native JSON data type defined by RFC 7159.[41]
  • MySQL Server 8.0 was announced in April 2018,[42] including NoSQL Document Store, atomic and crash safe DDL sentences and JSON Extended syntax, new functions, such as JSON table functions, improved sorting, and partial updates. Previous MySQL Server 8.0.0-dmr (Milestone Release) was announced 12 September 2016.[43]
  • MySQL was declared DBMS of the year 2019 from the DB-Engines ranking[44]

Release history

Release General availability Latest minor version Latest release End of support[45][46]
5.1 LTS 14 November 2008; 15 years ago (2008-11-14)[47] 5.1.73[48] 2013-12-03 Dec 2013
5.5 LTS 3 December 2010; 13 years ago (2010-12-03)[49] 5.5.62[50] 2018-10-22 Dec 2018
5.6 LTS 5 February 2013; 11 years ago (2013-02-05)[51] 5.6.51[52] 2021-01-20 Feb 2021
5.7 LTS 21 October 2015; 8 years ago (2015-10-21) [53] 5.7.44[54] 2023-10-25 Oct 2023
8.0 LTS 19 April 2018; 6 years ago (2018-04-19) [55] 8.0.36[56] 2024-01-16 Apr 2026
8.1 18 July 2023; 11 months ago (2023-07-18)[57] 8.1.26[58] 2023-07-18 Oct 2023
8.2 25 October 2023; 8 months ago (2023-10-25)[59] 8.2.0[60] 2023-10-25 Jan 2024
8.3 16 January 2024; 5 months ago (2024-01-16)[61] 8.3.0[62] 2024-01-16 Apr 2024
{{{2}}}

Work on version 6 stopped after the Sun Microsystems acquisition. The MySQL Cluster product uses version 7. The decision was made to jump to version 8 as the next major version number.[63]

Legal disputes and acquisitions

On 15 June 2001, NuSphere sued MySQL AB, TcX DataKonsult AB and its original authors Michael ("Monty") Widenius and David Axmark in U.S District Court in Boston for "breach of contract, tortious interference with third party contracts and relationships and unfair competition".[64][65]

In 2002, MySQL AB sued Progress NuSphere for copyright and trademark infringement in United States district court. NuSphere had allegedly violated MySQL AB's copyright by linking MySQL's GPL'ed code with NuSphere Gemini table without being in compliance with the license.[66] After a preliminary hearing before Judge Patti Saris on 27 February 2002, the parties entered settlement talks and eventually settled.[67] After the hearing, FSF commented that "Judge Saris made clear that she sees the GNU GPL to be an enforceable and binding license."[68]

In October 2005, Oracle Corporation acquired Innobase OY, the Finland company that developed the third-party InnoDB storage engine that allows MySQL to provide such functionality as transactions and foreign keys. After the acquisition, an Oracle press release mentioned that the contracts that make the company's software available to MySQL AB would be due for renewal (and presumably renegotiation) some time in 2006.[69] During the MySQL Users Conference in April 2006, MySQL AB issued a press release that confirmed that MySQL AB and Innobase OY agreed to a "multi-year" extension of their licensing agreement.[70]

In February 2006, Oracle Corporation acquired Sleepycat Software,[71] makers of the Berkeley DB, a database engine providing the basis for another MySQL storage engine. This had little effect, as Berkeley DB was not widely used, and was dropped (due to lack of use) in MySQL 5.1.12, a pre-GA release of MySQL 5.1 released in October 2006.[72]

In January 2008, Sun Microsystems bought MySQL AB for $1 billion.[73]

In April 2009, Oracle Corporation entered into an agreement to purchase Sun Microsystems,[74] then owners of MySQL copyright and trademark. Sun's board of directors unanimously approved the deal. It was also approved by Sun's shareholders, and by the U.S. government on 20 August 2009.[75] On 14 December 2009, Oracle pledged to continue to enhance MySQL[76] as it had done for the previous four years.

A movement against Oracle's acquisition of MySQL AB, to "Save MySQL"[77] from Oracle was started by one of the MySQL AB founders, Monty Widenius. The petition of 50,000+ developers and users called upon the European Commission to block approval of the acquisition. At the same time, some Free Software opinion leaders (including Pamela Jones of Groklaw, Jan Wildeboer and Carlo Piana, who also acted as co-counsel in the merger regulation procedure) advocated for the unconditional approval of the merger.[78][79][80] As part of the negotiations with the European Commission, Oracle committed that MySQL server will continue until at least 2015 to use the dual-licensing strategy long used by MySQL AB, with proprietary and GPL versions available. The antitrust of the EU had been "pressuring it to divest MySQL as a condition for approval of the merger". But the US Department of Justice, at the request of Oracle, pressured the EU to approve the merger unconditionally.[81] The European Commission eventually unconditionally approved Oracle's acquisition of MySQL AB on 21 January 2010.[82]

In January 2010, before Oracle's acquisition of MySQL AB, Monty Widenius started a GPL-only fork, MariaDB. MariaDB is based on the same code base as MySQL server 5.5 and aims to maintain compatibility with Oracle-provided versions.[83]

Features

MySQL is offered under two different editions: the open source MySQL Community Server[84] and the proprietary Enterprise Server.[85] MySQL Enterprise Server is differentiated by a series of proprietary extensions which install as server plugins, but otherwise shares the version numbering system and is built from the same code base.

Major features as available in MySQL 5.6:

  • A broad subset of ANSI SQL 99, as well as extensions
  • Cross-platform support
  • Stored procedures, using a procedural language that closely adheres to SQL/PSM[86]
  • Triggers
  • Cursors
  • Updatable views
  • Online Data Definition Language (DDL) when using the InnoDB Storage Engine.
  • Information schema
  • Performance Schema that collects and aggregates statistics about server execution and query performance for monitoring purposes.[87]
  • A set of SQL Mode options to control runtime behavior, including a strict mode to better adhere to SQL standards.
  • X/Open XA distributed transaction processing (DTP) support; two phase commit as part of this, using the default InnoDB storage engine
  • Transactions with savepoints when using the default InnoDB Storage Engine. The NDB Cluster Storage Engine also supports transactions.
  • ACID compliance when using InnoDB and NDB Cluster Storage Engines[88]
  • SSL support
  • Query caching
  • Sub-SELECTs (i.e. nested SELECTs)
  • Built-in replication support
    • Asynchronous replication: master-slave from one master to many slaves[89][90] or many masters to one slave[91]
    • Semi synchronous replication: Master to slave replication where the master waits on replication[92][93]
    • Synchronous replication: Multi-master replication is provided in MySQL Cluster.[94]
    • Virtual Synchronous: Self managed groups of MySQL servers with multi master support can be done using: Galera Cluster[95] or the built in Group Replication plugin[96]
  • Full-text indexing and searching[lower-alpha 2]
  • Embedded database library
  • Unicode support[lower-alpha 1]
  • Partitioned tables with pruning of partitions in optimizer
  • Shared-nothing clustering through MySQL Cluster
  • Multiple storage engines, allowing one to choose the one that is most effective for each table in the application.[lower-alpha 3]
  • Native storage engines InnoDB, MyISAM, Merge, Memory (heap), Federated, Archive, CSV, Blackhole, NDB Cluster.
  • Commit grouping, gathering multiple transactions from multiple connections together to increase the number of commits per second.

The developers release minor updates of the MySQL Server approximately every two months. The sources can be obtained from MySQL's website or from MySQL's GitHub repository, both under the GPL license.

Limitations

When using some storage engines other than the default of InnoDB, MySQL does not comply with the full SQL standard for some of the implemented functionality, including foreign key references.[97] Check constraints are parsed but ignored by all storage engines before MySQL version 8.0.15.[98][99]

Up until MySQL 5.7, triggers are limited to one per action / timing, meaning that at most one trigger can be defined to be executed after an INSERT operation, and one before INSERT on the same table.[100] No triggers can be defined on views.[100]

Before MySQL 8.0.28, inbuilt functions like UNIX_TIMESTAMP() would return 0 after 03:14:07 UTC on 19 January 2038.[101] In 2017, an attempt to solve the problem was submitted, but was not used for the final solution that was shipped in 2022.[102][103][104]

Deployment

MySQL can be built and installed manually from source code, but it is more commonly installed from a binary package unless special customizations are required. On most Linux distributions, the package management system can download and install MySQL with minimal effort, though further configuration is often required to adjust security and optimization settings.

LAMP software bundle, displayed here together with Squid.

Though MySQL began as a low-end alternative to more powerful proprietary databases, it has gradually evolved to support higher-scale needs as well. It is still most commonly used in small to medium scale single-server deployments, either as a component in a LAMP-based web application or as a standalone database server. Much of MySQL's appeal originates in its relative simplicity and ease of use, which is enabled by an ecosystem of open source tools such as phpMyAdmin. In the medium range, MySQL can be scaled by deploying it on more powerful hardware, such as a multi-processor server with gigabytes of memory.

There are, however, limits to how far performance can scale on a single server ('scaling up'), so on larger scales, multi-server MySQL ('scaling out') deployments are required to provide improved performance and reliability. A typical high-end configuration can include a powerful master database which handles data write operations and is replicated to multiple slaves that handle all read operations.[105] The master server continually pushes binlog events to connected slaves so in the event of failure a slave can be promoted to become the new master, minimizing downtime. Further improvements in performance can be achieved by caching the results from database queries in memory using memcached, or breaking down a database into smaller chunks called shards which can be spread across a number of distributed server clusters.[106]

High availability software

Oracle MySQL offers a high availability solution with a mix of tools including the MySQL router and the MySQL shell. They are based on Group Replication, open source tools.[107]

MariaDB offers a similar offer in terms of products.[108]

Cloud deployment

MySQL can also be run on cloud computing platforms such as Microsoft Azure, Amazon Elastic Compute Cloud, Oracle Cloud Infrastructure. Some common deployment models for MySQL on the cloud are:

Virtual machine image
In this implementation, cloud users can upload a machine image of their own with MySQL installed, or use a ready-made machine image with an optimized installation of MySQL on it, such as the one provided by Amazon EC2.[109]
MySQL as a service
Some cloud platforms offer MySQL "as a service". In this configuration, application owners do not have to install and maintain the MySQL database on their own. Instead, the database service provider takes responsibility for installing and maintaining the database, and application owners pay according to their usage.[110] Notable cloud-based MySQL services are the Amazon Relational Database Service; Oracle MySQL HeatWave Database Service, Azure Database for MySQL, Rackspace; HP Converged Cloud; Heroku and Jelastic. In this model the database service provider takes responsibility for maintaining the host and database.

User interfaces

Graphical user interfaces

A graphical user interface (GUI) is a type of interface that allows users to interact with electronic devices or programs through graphical icons and visual indicators such as secondary notation, as opposed to text-based interfaces, typed command labels or text navigation.

Third-party proprietary and free graphical administration applications (or "front ends") are available that integrate with MySQL and enable users to work with database structure and data visually.

MySQL Workbench running on macOS

MySQL Workbench

Main page: Software:MySQL Workbench

MySQL Workbench is the integrated environment for MySQL. It was developed by MySQL AB, and enables users to graphically administer MySQL databases and visually design database structures.

MySQL Workbench is available in three editions, the regular free and open source Community Edition which may be downloaded from the MySQL website, and the proprietary Standard Edition which extends and improves the feature set of the Community Edition, and the MySQL Cluster CGE.[111] [112]

Other GUI tools

Command-line interfaces

A command-line interface is a means of interacting with a computer program where the user issues commands to the program by typing in successive lines of text (command lines). MySQL ships with many command line tools, from which the main interface is the mysql client.[113][114]

MySQL Utilities is a set of utilities designed to perform common maintenance and administrative tasks. Originally included as part of the MySQL Workbench, the utilities are a stand-alone download available from Oracle.

Percona Toolkit is a cross-platform toolkit for MySQL, developed in Perl.[115] Percona Toolkit can be used to prove replication is working correctly, fix corrupted data, automate repetitive tasks, and speed up servers. Percona Toolkit is included with several Linux distributions such as CentOS and Debian, and packages are available for Fedora and Ubuntu as well. Percona Toolkit was originally developed as Maatkit, but as of late 2011, Maatkit is no longer developed.

MySQL shell is a tool for interactive use and administration of the MySQL database. It supports JavaScript, Python or SQL modes and it can be used for administration and access purposes.[116]

Application programming interfaces

Many programming languages with language-specific APIs include libraries for accessing MySQL databases. These include MySQL Connector/Net for .NET/CLI Languages,[117] and the JDBC driver for Java.[118]

In addition, an ODBC interface called MySQL Connector/ODBC allows additional programming languages that support the ODBC interface to communicate with a MySQL database, such as ASP or ColdFusion. The HTSQL – URL-based query method also ships with a MySQL adapter, allowing direct interaction between a MySQL database and any web client via structured URLs. Other drivers exists for languages like Python[119] or Node.js.[120]

Project forks

A variety of MySQL forks exist, including the following.

Current

MariaDB
MariaDB is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. The fork has been led by the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle.[33]
Percona Server for MySQL
Percona Server for MySQL, forked by Percona, aims to retain close compatibility to the official MySQL releases.[121] Also included in Percona Server for MySQL is XtraDB, Percona's fork of the InnoDB Storage Engine.[122]

Abandoned

Drizzle
Drizzle was a free software/open source relational database management system (DBMS) that was forked from the now-defunct 6.0 development branch of the MySQL DBMS.[123] Like MySQL, Drizzle had a client/server architecture and uses SQL as its primary command language. Drizzle was distributed under version 2 and 3 of the GNU General Public License (GPL) with portions, including the protocol drivers and replication messaging under the BSD license.
WebScaleSQL
WebScaleSQL was a software branch of MySQL 5.6, and was announced on 27 March 2014 by Facebook, Google, LinkedIn and Twitter as a joint effort to provide a centralized development structure for extending MySQL with new features specific to its large-scale deployments, such as building large replicated databases running on server farms. Thus, WebScaleSQL opened a path toward deduplicating the efforts each company had been putting into maintaining its own branch of MySQL, and toward bringing together more developers. By combining the efforts of these companies and incorporating various changes and new features into MySQL, WebScaleSQL aimed at supporting the deployment of MySQL in large-scale environments.[124][125] The project's source code is licensed under version 2 of the GNU General Public License, and is hosted on GitHub.[126][127]
OurDelta
The OurDelta distribution, created by the Australian company Open Query (later acquired by Catalyst IT Australia), had two versions: 5.0, which was based on MySQL, and 5.1, which was based on MariaDB. It included patches developed by Open Query and by other notable members of the MySQL community including Jeremy Cole and Google. Once the patches were incorporated into the MariaDB mainline, OurDelta's objectives were achieved and OurDelta passed on its build and packaging toolchain to Monty Program (now MariaDB Plc).[128]

See also

Notes

  1. 1.0 1.1 Prior to MySQL 5.5.3, UTF-8 and UCS-2 encoded strings are limited to the BMP; MySQL 5.5.3 and later use utf8mb4 for full Unicode support.
  2. Initially, it was a MyISAM-only feature; supported by InnoDB since the release of MySQL 5.6.
  3. In MySQL 5.0, storage engines must be compiled in; since MySQL 5.1, storage engines can be dynamically loaded at run time.

References

  1. "MySQL: Project Summary". Ohloh. Black Duck Software. http://www.ohloh.net/p/mysql/analyses/latest. 
  2. "Supported Platforms: MySQL Database". Oracle. http://www.mysql.com/support/supportedplatforms/database.html. 
  3. "Downloads". MySQL. http://www.mysql.com/downloads/. 
  4. 4.0 4.1 "What is MySQL?". MySQL 8.0 Reference Manual. Oracle Corporation. https://dev.mysql.com/doc/refman/8.0/en/what-is-mysql.html. "The official way to pronounce "MySQL" is "My Ess Que Ell" (not "my sequel"), but we do not mind if you pronounce it as "my sequel" or in some other localized way." 
  5. "DB-Engines Ranking of Relational DBMS". solidIT consulting & software development GmbH. http://db-engines.com/en/ranking/relational+dbms. 
  6. "History of MySQL". MySQL 8.0 Reference Manual. Oracle Corporation. https://dev.mysql.com/doc/refman/8.0/en/history.html. "MySQL is named after co-founder Monty Widenius's daughter, My." 
  7. "Sun Microsystems Announces Completion of MySQL Acquisition; Paves Way for Secure, Open Source Platform to Power the Network Economy" (Press release). Sun Microsystems. 26 February 2008. Archived from the original on 28 February 2008. Retrieved 17 September 2012.
  8. Pearce, Rohan (2013-03-28). "Dead database walking: MySQL's creator on why the future belongs to MariaDB" (in en). https://www.computerworld.com/article/3463901/dead-database-walking-mysql-s-creator-on-why-the-future-belongs-to-mariadb.html. "The day the Sun purchase was announced, Widenius responded […] — he forked MySQL, launching MariaDB […]" 
  9. Jackson, Joab (March 8, 2010). "WordPress Guns for Web Content Management Duties" (in en-US). https://archive.nytimes.com/www.nytimes.com/external/idg/2010/03/08/08idg-wordpress-guns-for-web-content-management-duties-87311.html. "WordPress, created in 2003, uses a variety of open-source programs and open standards, such as PHP, MySQL, JavaScript, HTML and CSS." 
  10. Sobel, Jason (2007-12-21). "Keeping Up". The Facebook Blog. Facebook. http://blog.facebook.com/blog.php?post=7899307130. "[…] Facebook's data is stored in MySQL database servers […]" 
  11. Matsunobu, Yoshinori (2016-08-31). "MyRocks: A space- and write-optimized MySQL database" (in en-US). https://engineering.fb.com/core-data/myrocks-a-space-and-write-optimized-mysql-database/. "At Facebook we use MySQL to manage many petabytes of data, along with the InnoDB storage engine […]" 
  12. Elliott-McCrea, Kellan (2010-02-08). "Using, Abusing and Scaling MySQL at Flickr". http://code.flickr.net/2010/02/08/using-abusing-and-scaling-mysql-at-flickr/. "[…] at Flickr, MySQL is our hammer, and we use it for nearly everything. It's our federated data store, our key-value store, and our document store." 
  13. "Manual:MySQL". MediaWiki, The Free Wiki Engine. https://www.mediawiki.org/wiki/Manual:MySQL. "The MySQL and MariaDB database engines are the most commonly-used database backends for MediaWiki." 
  14. Hashemi, Mazdak (2017-01-19). "The Infrastructure Behind Twitter: Scale" (in en-us). https://blog.twitter.com/engineering/en_us/topics/infrastructure/2017/the-infrastructure-behind-twitter-scale.html. "SQL: This includes MySQL, PostgreSQL and Vertica. MySQL/PosgreSQL are used where we need strong consistency […]" 
  15. Mehta, Chintan; K Bhavsar, Ankit; Oza, Hetal; Shah, Subhash (February 15, 2018). MySQL 8 Administrator's Guide: Effective Guide to Administering High-performance MySQL 8 Solutions. Packt Publishing. p. 32. ISBN 9781788393843. https://books.google.com/books?id=EJdMDwAAQBAJ&dq=%22YouTube%22+%2B+%22MySQL%22&pg=PA32. 
  16. "MySQL Internals Manual". 4 March 2009. http://dev.mysql.com/doc/internals/en/index.html. 
  17. "MySQL for OpenVMS". vmsmysql.org. 2011-03-30. http://www.vmsmysql.org/. 
  18. "Commercial License for OEMs, ISVs and VARs". July 2010. https://www.mysql.com/about/legal/licensing/oem/. "Oracle provides its MySQL database server […] under a dual license model […] Oracle makes its MySQL database server […] available under the GPLv2 […]" 
  19. MySQL Support Manual, MySQL Developers
  20. Review of MySQL Server 5.0, Techworld.com, November 2005
  21. MySQL Server Review, LinuxMint.com
  22. "Five Questions With Michael Widenius – Founder And Original Developer of MySQL". opensourcereleasefeed.com. http://www.opensourcereleasefeed.com/interview/show/five-questions-with-michael-widenius-founder-and-original-developer-of-mysql. 
  23. Pachev, Sasha. "MySQL History and Architecture" (in en-US). https://www.oreilly.com/library/view/understanding-mysql-internals/0596009577/ch01.html. 
  24. "MySQL 3.23 Declared Stable". http://www.mysql.com/news/article-54.html. 
  25. "Capttofu: FederatedX Pluggable Storage Engine Released!". Capttofu.livejournal.com. http://capttofu.livejournal.com/5798.html. 
  26. "MySQL Federated Tables: The Missing Manual". O'Reilly Media. 8 October 2006. http://www.oreillynet.com/pub/a/databases/2006/08/10/mysql-federated-tables.html. 
  27. Arrington, Michael (2008-01-16). "Sun Picks Up MySQL For $1 Billion; Open Source Is A Legitimate Business Model". https://techcrunch.com/2008/01/16/sun-picks-up-mysql-for-1-billion-open-source-is-a-legitimate-business-model/. 
  28. "Archives – Oops, we did it again (MySQL 5.1 released as GA with crashing bugs)". Planet MySQL. 29 November 2008. http://www.planetmysql.org/entry.php?id=16232. 
  29. Zaitsev, Peter (2008-04-10). "TPC-H Run on MySQL 5.1 and 6.0". http://www.mysqlperformanceblog.com/2008/04/10/tpc-h-run-on-mysql-51-and-60/. 
  30. "Oracle Completes Acquisition of Sun" (Press release). Oracle. 27 January 2010. Retrieved 1 February 2012.
  31. "Overview and Frequently Asked Questions". https://www.oracle.com/us/assets/038563.pdf. 
  32. Krill, Paul (27 January 2010). "Oracle's ambitious plans for integrating Sun's technology". InfoWorld. http://www.infoworld.com/article/2627785/m-a/oracle-s-ambitious-plans-for-integrating-sun-s-technology.html. 
  33. 33.0 33.1 Pearce, Rohan (28 March 2013). "Dead database walking: MySQL's creator on why the future belongs to MariaDB". Computerworld. https://www2.computerworld.com.au/article/457551/dead_database_walking_mysql_creator_why_future_belongs_mariadb/. 
  34. "InnoDB I/O Subsystem Changes". dev.mysql.com. http://dev.mysql.com/doc/refman/5.5/en/innodb-io-changes.html. 
  35. "Scalability Improvements". dev.mysql.com. http://dev.mysql.com/doc/refman/5.5/en/smp-improvements.html. 
  36. "MySQL Lists: packagers: MySQL 6.0.11 Alpha has been released!". Lists.mysql.com. http://lists.mysql.com/packagers/418. 
  37. "Oracle Announces General Availability of MySQL 5.6". http://www.oracle.com/us/corporate/press/1904335. 
  38. "What's New in MySQL 5.6". MySQL Developer Zone. http://dev.mysql.com/tech-resources/articles/whats-new-in-mysql-5.6.html. 
  39. "Oracle Announces General Availability of MySQL 5.7". Oracle. https://www.oracle.com/corporate/pressrelease/mysql-5-7-ga-101915.html. 
  40. "MySQL :: MySQL 5.7 Release Notes :: Changes in MySQL 5.7.8 (2015-08-03, Release Candidate)". https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-8.html#mysqld-5-7-8-json. 
  41. Bray, T. (2014). MySQL :: MySQL 5.7 Reference Manual :: 11.6 The JSON Data Type. doi:10.17487/RFC7159. https://dev.mysql.com/doc/refman/5.7/en/json.html. Retrieved 10 October 2019. 
  42. Frank, Mike. "Announcing General Availability of MySQL 8.0". https://blogs.oracle.com/mysql/announcing-general-availability-of-mysql-80. 
  43. "8.0.0-dmr (Milestone Release)". http://lists.mysql.com/announce/1106. 
  44. Gelbmann, Matthias (2020-01-03). "MySQL is the DBMS of the Year 2019". DB-Engines. https://db-engines.com/en/blog_post/83. 
  45. "Oracle Lifetime Support Policy". http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf. 
  46. "Introducing MySQL Innovation and Long-Term Support (LTS) versions". https://dev.mysql.com/blog-archive/introducing-mysql-innovation-and-long-term-support-lts-versions/. 
  47. "A.1 MySQL 5.1 FAQ: General". https://docs.oracle.com/cd/E17952_01/mysql-5.1-en/faqs-general.html. 
  48. "2 Changes in MySQL 5.1.73 (2013-12-03)". https://docs.oracle.com/cd/E17952_01/mysql-5.1-relnotes-en/news-5-1-73.html. 
  49. "MySQL: MySQL 5.5 Release Notes". https://dev.mysql.com/doc/relnotes/mysql/5.5/en/. 
  50. "2 Changes in MySQL 5.5.62 (2018-10-22, General availability)". https://docs.oracle.com/cd/E17952_01/mysql-5.5-relnotes-en/news-5-5-62.html. 
  51. "MySQL: MySQL 5.6 Release Notes". https://dev.mysql.com/doc/relnotes/mysql/5.6/en/. 
  52. "MySQL :: MySQL 5.6 Release Notes :: Changes in MySQL 5.6.51 (2021-01-20, General Availability)". https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-51.html. 
  53. "MySQL: MySQL 5.7 Release Notes". https://dev.mysql.com/doc/relnotes/mysql/5.7/en/. 
  54. "Changes in MySQL 5.7.44 (2023-10-25, General Availability)". https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-44.html. 
  55. Hoydalsvik, Geir (19 April 2018). "What's New in MySQL 8.0? (Generally Available)". https://mysqlserverteam.com/whats-new-in-mysql-8-0-generally-available/. 
  56. "MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.36 (2024-01-16, General Availability)". https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-36.html. 
  57. "What Is New in MySQL 8.1". 18 July 2023. https://dev.mysql.com/doc/refman/8.1/en/mysql-nutshell.html. 
  58. "Changes in MySQL 8.1.0 (2023-07-18, Innovation Release)". 18 July 2023. https://dev.mysql.com/doc/relnotes/mysql/8.1/en/news-8-1-0.html. 
  59. "What Is New in MySQL 8.2". 25 October 2023. https://dev.mysql.com/doc/refman/8.2/en/mysql-nutshell.html. 
  60. "Changes in MySQL 8.2.0 (2023-08-25, Innovation Release)". 25 October 2023. https://dev.mysql.com/doc/relnotes/mysql/8.2/en/news-8-2-0.html. 
  61. "What Is New in MySQL 8.3". 16 January 2024. https://dev.mysql.com/doc/refman/8.3/en/mysql-nutshell.html. 
  62. "Changes in MySQL 8.3.0 (2024-01-16, Innovation Release)". 16 January 2024. https://dev.mysql.com/doc/relnotes/mysql/8.3/en/news-8-3-0.html. 
  63. "MySQL 8 is coming". https://opensource.com/article/17/2/mysql-8-coming. 
  64. Basil, Tom (4 September 2001). "Eyewitness account: "Monty Widenius, International Fugitive"". MySQL Life (Mailing list). Archived from the original on 4 October 2013. Retrieved 16 September 2012.
  65. "FAQ on MySQL vs. NuSphere Dispute". MySQL AB. 13 July 2001. http://mysql.com/news/article-75.html. 
  66. "Affidavit of Eben Moglen on Progress Software vs. MySQL AB Preliminary Injunction Hearing". http://www.fsf.org/press/mysql-affidavit.html. 
  67. Progress Software Corporation v. MySQL AB, 195 F. Supp. 2d 328 (D. Mass. 2002).
  68. "Judge Saris defers GNU GPL Questions for Trial in MySQL vs. Progress Software" (Press release). Free Software Foundation. 1 March 2002. Retrieved 16 September 2012.
  69. "Oracle Announces the Acquisition of Open Source Software Company, Innobase" (Press release). Oracle. 7 October 2005. Archived from the original on 20 July 2011. Retrieved 16 September 2012.
  70. "MySQL to Promote New Open Source DB Engines from its Partners and Dev Community" (Press release). MySQL AB. 26 April 2006. Archived from the original on 23 June 2011. Retrieved 16 September 2012.
  71. Babcock, Charles (14 February 2006). "Oracle Buys Sleepycat, Is JBoss Next?". InformationWeek. CPM Media. http://www.informationweek.com/software/showArticle.jhtml?articleID=180200853. 
  72. "Changes in MySQL 5.1.12". MySQL 5.1 Reference Manual. MySQL AB. 24 October 2006. http://dev.mysql.com/doc/refman/5.1/en/news-5-1-12.html. 
  73. "Sun Microsystems Announces Agreement to Acquire MySQL, Developer of the World's Most Popular Open Source Database" (Press release). Sun Microsystems. 16 January 2008. Archived from the original on 18 July 2011. Retrieved 16 September 2012.
  74. "Oracle to Buy Sun" (Press release). Sun Microsystems. 20 April 2009. Archived from the original on 22 April 2009. Retrieved 16 September 2012.
  75. Thomasch, Paul; Finkle, Jim (20 August 2009). "Oracle wins U.S. approval to buy Sun Microsystems". Reuters. https://www.reuters.com/article/sun-oracle/update-1-oracle-wins-u-s-approval-to-buy-sun-microsystems-idUSN2053486920090820. 
  76. Whitney, Lance (14 December 2009). "Oracle pledges to play well with MySQL". http://news.cnet.com/8301-1001_3-10414686-92.html. 
  77. Michael, Widenius (12 December 2009). "Help saving MySQL". Monty Says. Google. http://monty-says.blogspot.com/2009/12/help-saving-mysql.html. 
  78. "The Software Freedom Law Center Submits an Opinion on the Oracle/Sun Merger to the EC". Software Freedom Law Center. 2009-12-04. https://www.softwarefreedom.org/news/2009/dec/04/software-freedom-law-center-submits-opinion-oracle/. 
  79. Lai, Eric (2009-10-28). "Many open-sourcers back an Oracle takeover of MySQL". InfoWorld. https://www.infoworld.com/article/2630216/database/many-open-sourcers-back-an-oracle-takeover-of-mysql.html. 
  80. Wildeboer, Jan (2010-01-05). "Why I will not sign the MySQL petition". http://jan.wildeboer.net/2010/01/why-i-will-not-sign-the-mysql-petition/. 
  81. Kanaracus, Chris (30 August 2011). "Wikileaks Cable Offers New Insights into Oracle-Sun Deal". PC World. http://www.pcworld.com/article/239132/wikileaks_cable_offers_new_insights_into_oraclesun_deal.html. 
  82. "Mergers: Commission clears Oracle's proposed acquisition of Sun Microsystems" (Press release). European Union. 21 January 2010. Retrieved 16 September 2012.
  83. "MariaDB versus MySQL - Compatibility". https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/. "MariaDB versions function as a "drop-in replacement" for the equivalent MySQL version, with some limitations." 
  84. "MySQL Community Edition". https://www.mysql.com/products/community/. "MySQL Community Edition is the freely downloadable version […]. It is available under the GPL license […]" 
  85. "Which Should I Use: MySQL Enterprise or MySQL Community Server?". MySQL AB. http://www.mysql.com/products/which-edition.html. 
  86. Guy Harrison; Steven Feuerstein (2008). MySQL Stored Procedure Programming. O'Reilly Media. p. 49. ISBN 978-0-596-10089-6. https://books.google.com/books?id=YpeP0ok0cO4C&pg=PT75. 
  87. "Monitoring RDS MySQL performance metrics". Datadog. 2015-10-20. https://www.datadoghq.com/blog/monitoring-rds-mysql-performance-metrics/. 
  88. "MySQL :: InnoDB 1.1 for MySQL 5.5 User's Guide :: C InnoDB Glossary :: ACID". http://dev.mysql.com/doc/innodb/1.1/en/glossary.html#glos_acid. 
  89. "Replication". MySQL. http://dev.mysql.com/doc/refman/5.6/en/replication.html. 
  90. "MariaDB Replication". https://mariadb.com/kb/en/library/high-availability-performance-tuning-mariadb-replication/. 
  91. "MySQL :: MySQL 5.7 Reference Manual :: 16.1.4 MySQL Multi-Source Replication". https://dev.mysql.com/doc/refman/5.7/en/replication-multi-source.html. 
  92. "MySQL :: MySQL 5.7 Reference Manual :: 16.3.9 Semisynchronous Replication". https://dev.mysql.com/doc/refman/5.7/en/replication-semisync.html. 
  93. "Semisynchronous Replication". https://mariadb.com/kb/en/library/semisynchronous-replication/. 
  94. "MySQL Cluster Replication: Multi-Master and Circular Replication". MySQL. http://dev.mysql.com/doc/refman/5.6/en/mysql-cluster-replication-multi-master.html. 
  95. "MySQL University: MySQL Galera Multi-Master Replication". Oracle Corporation. 2010-02-09. https://blogs.oracle.com/mysqlf/entry/mysql_university_mysql_galera_multi. 
  96. "MySQL :: MySQL 8.0 Reference Manual :: 18 Group Replication". https://dev.mysql.com/doc/refman/8.0/en/group-replication.html. 
  97. "13.1.20.5 FOREIGN KEY Constraints". MySQL. https://dev.mysql.com/doc/refman/8.0/en/create-table-foreign-keys.html. 
  98. "Bug #3464 Constraints: support CHECK". MySQL. 14 April 2004. http://bugs.mysql.com/bug.php?id=3464. 
  99. "MySQL 8.0 Reference Manual: CREATE TABLE Syntax". Oracle. https://dev.mysql.com/doc/refman/8.0/en/create-table.html. 
  100. 100.0 100.1 "CREATE TRIGGER Syntax". MySQL. http://dev.mysql.com/doc/refman/5.6/en/create-trigger.html. 
  101. "MySQL Bugs: #12654: 64-bit unix timestamp is not supported in MySQL functions". MySQL. 2005-08-18. https://bugs.mysql.com/bug.php?id=12654. 
  102. "Allow dates beyond 2038 by dveeden · Pull Request #130 · mysql/mysql-server". GitHub, Inc.. 2017-03-22. https://github.com/mysql/mysql-server/pull/130. 
  103. "MySQL Bugs: #12654: 64-bit unix timestamp is not supported in MySQL functions". https://bugs.mysql.com/bug.php?id=12654. 
  104. "MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.28 (2022-01-18, General Availability)". https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html. 
  105. "The future of replication in MySQL". Facebook. https://www.facebook.com/note.php?note_id=126049465932. 
  106. "Database Sharding". Code Futures. http://www.codefutures.com/dbshards-cloud/. 
  107. "MySQL :: MySQL Enterprise High Availability". https://www.mysql.com/products/enterprise/high_availability.html. 
  108. "High Availability & Performance Tuning". https://mariadb.com/kb/en/library/replication-cluster-multi-master/. 
  109. "Running MySQL on Amazon EC2 with EBS (Elastic Block Store)". http://aws.amazon.com/articles/1663. 
  110. Finley, Klint. "7 Cloud-Based Database Services". http://www.readwriteweb.com/cloud/2011/01/7-cloud-based-database-service.php. 
  111. "MySQL :: MySQL Products". https://www.mysql.com/products/. 
  112. "MySQL :: MySQL Community Edition". https://www.mysql.com/products/community/. 
  113. mysql — The MySQL Command-Line Tool, MySQL Reference Manual
  114. mysqladmin – the MySQL command-line tool, MySQL Reference Manual
  115. "Percona Toolkit". Percona. http://www.percona.com/software/percona-toolkit. 
  116. "MySQL :: Download MySQL Shell". https://dev.mysql.com/downloads/shell/. 
  117. "MySQL Connector/NET Developer Guide". 2020-09-09. https://dev.mysql.com/doc/connector-net/en/. 
  118. "MySQL Connector/J Developer Guide". 2020-09-18. https://dev.mysql.com/doc/connector-j/8.0/en/. 
  119. "MySQL :: Download Connector/Python". https://dev.mysql.com/downloads/connector/python/. 
  120. "MySQL :: Download Connector/Node.js". https://dev.mysql.com/downloads/connector/nodejs/. 
  121. "How is it related to other MySQL forks?". Frequently Asked Questions. Percona. http://www.percona.com/software/percona-server/faq. 
  122. "Percona challenges Oracle with alternate MySQL release". PC World. http://www.pcworld.com/article/2054060/percona-challenges-oracle-with-alternate-mysql-release.html. 
  123. Clark, Jack (2011-03-17). "MySQL fork Drizzle gets general release". http://www.zdnet.com/article/mysql-fork-drizzle-gets-general-release/. 
  124. Steven J. Vaughan-Nichols (28 March 2013). "WebScaleSQL: MySQL for Facebook-sized databases". ZDNet. http://www.zdnet.com/webscalesql-mysql-for-facebook-sized-databases-7000027814/. 
  125. Klint Finley (27 March 2013). "Google and Facebook Team Up to Modernize Old-School Databases". Wired. https://www.wired.com/2014/03/webscalesql/. Retrieved 1 April 2014. 
  126. Jack Clark (27 March 2013). "Forkin' 'L! Facebook, Google and friends create WebScaleSQL from MySQL 5.6". https://www.theregister.co.uk/2014/03/27/webscalesql_launch/. 
  127. "Frequently Asked Questions". 27 March 2014. http://webscalesql.org/faq.html. 
  128. "OurDelta". 22 August 2017. https://openquery.com.au/products/ourdelta. 

External links