Share on Facebook Share on Twitter Email
Answers.com

MySQL

 

A very popular open source, relational DBMS for both Web and embedded applications from MySQL AB, Uppsala, Sweden www.mysql.com), which was acquired by Sun in 2008. Pronounced "my S-Q-L," it runs under Linux/Unix, Windows and Mac. The free MySQL Community Edition is available under the GNU license, and more than 100 million copies have been downloaded worldwide. MySQL Enterprise is the more comprehensive, paid version.

Extensive Language Support

Applications using MySQL are written in PHP, Perl, Python, Ruby, Java, C/C++, C# and Visual Basic. The MySQL programming interface (API) is a superset of the C language API for mSQL, which was developed by David Hughes in 1994. See mSQL.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia: MySQL
Top
MySQL
MySQL.svg
Mysql-screenshot.PNG
Screenshot of the default MySQL command line.
Developer(s) MySQL AB
Initial release May 23, 1995 (1995-05-23)
Stable release 5.1.41  (2009-11-05; 19 days ago) [+/−]
Preview release 5.4.3  (2009-10-06; 49 days ago) [+/−]
Written in C, C++
Operating system Cross-platform
Available in English
Type RDBMS
License GNU General Public License (version 2, with linking exception) or proprietary EULA
Website www.mysql.com

MySQL is a relational database management system (RDBMS)[1] that has more than 6 million installations.[2] MySQL stands for "My Structured Query Language". The program runs as a server providing multi-user access to a number of databases. MySQL is officially pronounced /maɪˌɛskjuːˈɛl/ (My S-Q-L), but often pronounced /maɪˌsiː'kwɛl/ (My SEQuel).[3]

The project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now a subsidiary of Sun Microsystems[4]. As of 2009 Oracle Corporation began the process of acquiring Sun Microsystems.

MySQL is often used in free software projects that require a full-featured database management system, such as WordPress, phpBB and other software built on the LAMP software stack. It is also used in very high-scale World Wide Web products including Wikipedia, Google and Facebook[citation needed].

Contents

Uses

Many web applications use MySQL as the database component of a LAMP software stack. Its popularity for use with web applications is closely tied to the popularity of PHP, which is often combined with MySQL. Several high-traffic web sites (including Flickr,[citation needed] Facebook,[5][6] Wikipedia[7], Google[8] (though not for searches), Nokia[citation needed], Auctionmarts and YouTube[citation needed]) use MySQL for data storage and logging of user data.

Platforms and interfaces

The MySQL Administrator in Linux

MySQL code uses C and C++. The SQL parser uses yacc and a home-brewed lexer, sql_lex.cc[9]

MySQL works on many different system platforms, including AIX, BSDi, FreeBSD, HP-UX, i5/OS, Linux, Mac OS X, NetBSD, Novell NetWare, OpenBSD, OpenSolaris, eComStation, OS/2 Warp, QNX, IRIX, Solaris, Symbian, SunOS, SCO OpenServer, SCO UnixWare, Sanos, Tru64 and Microsoft Windows. A port of MySQL to OpenVMS also exists.[10]

All major programming languages with language-specific APIs include Libraries for accessing MySQL databases. In addition, an ODBC interface called MyODBC allows additional programming languages that support the ODBC interface to communicate with a MySQL database, such as ASP or ColdFusion. The MySQL server and official libraries are mostly implemented in ANSI C/ANSI C++.

To administer MySQL databases one can use the included command-line tool (commands: mysql and mysqladmin). Potential users may also download from the MySQL site: GUI administration tools: MySQL Administrator, MySQL Migration Toolkit and MySQL Query Browser. The GUI tools are now included in one package called MySQL GUI Tools.

In addition to the above-mentioned tools developed by MySQL AB, several other commercial and non-commercial tools integrate with MySQL. Examples include Navicat Free Lite Edition, AnySQL Maestro Freeware Edition or SQLyog Community Edition, they are free desktop based GUI tools, and phpMyAdmin, a free Web-based administration interface implemented in PHP.

Features

As of April 2009, MySQL offers MySQL 5.1 in two different variants: the MySQL Community Server and Enterprise Server.[11] They have a common code base and include the following features:

The developers release monthly versions of the MySQL Enterprise Server and the sources can be obtained either from MySQL's customer-only Enterprise site or from MySQL's Bazaar repository, both under the GPL license. The MySQL Community Server is published on an unspecified schedule under the GPL and contains all bug fixes that were shipped with the last MySQL Enterprise Server release. Binaries are no longer provided by MySQL for every release of the Community Server.[13][14]

Distinguishing features

MySQL implements the following features, which some other RDBMS systems may not:

  • Multiple storage engines, allowing one to choose the one that is most effective for each table in the application (in MySQL 5.0, storage engines must be compiled in; in MySQL 5.1, storage engines can be dynamically loaded at run time):
  • Commit grouping, gathering multiple transactions from multiple connections together to increase the number of commits per second.

Server compilation type

Enterprise and Community users may deploy three types of MySQL Server Compilations:

  • Standard: The MySQL-Standard binaries, recommended for most users, include the InnoDB storage engine.
  • Max: (not MaxDB, a cooperation with SAP AG) is mysqld-max Extended MySQL Server. The MySQL-Max binaries include additional features that may not have been as extensively tested or are not required for general usage.
  • The MySQL-Debug binaries, compiled with extra debug information, are not intended for production use, because the included debugging code may cause reduced performance.

Beginning with MySQL 5.1, MySQL AB has stopped providing these different package variants, and will standardize on one MySQL server package, which includes a mysqld binary with all functionality and storage engines enabled. Instead of providing a separate debug package, a server binary with extended debugging information is also included in the standard package.[15]

Product History

Milestones in MySQL development include:

  • Original development of MySQL by Michael Widenius and David Axmark beginning in 1994 [16]
  • First internal release on 23 May 1995
  • Windows version was released on 8 January 1998 for Windows 95 and NT
  • Version 3.23: beta from June 2000, production release January 2001
  • Version 4.0: beta from August 2002, production release March 2003 (unions)
  • Version 4.01: beta from August 2003, Jyoti adopts MySQL for database tracking
  • 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",[17] 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".
  • Sun Microsystems acquired MySQL AB on 26 February 2008.[4]
  • 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.[18]
MySQL 5.1 and 6.0 showed poor performance when used for data warehousing — partly due to its inability to utilize multiple CPU cores for processing a single query.[19].

Future releases

The MySQL 6 roadmap outlines support for:

  • Referential integrity and Foreign key support for all storage engines is targeted for release in MySQL 6.1 (although it has been present since version 3.23.44 for InnoDB).
  • Support for supplementary Unicode characters, beyond the 65,536 characters of the Basic Multilingual Plane (BMP); announced for MySQL 6.0.
  • A new storage engine called Falcon. A preview of Falcon is available on MySQL's website.

The 2006 roadmap for future versions foreshadows support for parallelization.[20]

Support and licensing

Via MySQL Enterprise MySQL AB offers support itself, including a 24/7 service with 30-minute response time. The support team has direct access to the developers as necessary to handle problems. In addition, it hosts forums and mailing lists, employees and other users are often available in several IRC channels providing assistance.

In addition to official product support from Sun, other companies offer support and services related to usage of MySQL. For example, Percona offers services related to optimization and Monty Program Ab offers non-recurring engineering.

Buyers of MySQL Enterprise have access to binaries and software certified for their particular operating system, and access to monthly binary updates with the latest bug-fixes. Several levels of Enterprise membership are available, with varying response times and features ranging from how to and emergency support through server performance tuning and system architecture advice. The MySQL Network Monitoring and Advisory Service monitoring tool for database servers is available only to MySQL Enterprise customers.

Potential users can install MySQL Server as free software under the GNU General Public License (GPL), and the MySQL Enterprise subscriptions include a GPL version of the server, with a traditional proprietary version available on request at no additional cost for cases where the intended use is incompatible with the GPL.[21]

Both the MySQL server software itself and the client libraries use dual-licensing distribution. Users may choose the GPL,[22] which MySQL has extended with a FLOSS License Exception. It allows Software licensed under other OSI-compliant Open Source licenses, which are not compatible to the GPL, to link against the MySQL client libraries.[23]

Customers that do not wish to follow the terms of the GPL may choose to purchase a proprietary license.[24]

Like many open-source programs, MySQL has trademarked its name, which others may use only with the trademark holder's permission.

Corporate Backing History

In October 2005, Oracle Corporation acquired Innobase OY, the Finnish company that developed the InnoDB storage engine that allows MySQL to provide such functionality as transactions and foreign keys. After the acquisition, an Oracle press release[25] 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. During the MySQL Users Conference in April 2006, MySQL issued a press release that confirmed that MySQL and Innobase OY agreed to a "multi-year" extension of their licensing agreement.[26]

In February 2006, Oracle Corporation acquired Sleepycat Software,[27] makers of the Berkeley DB, a database engine providing the basis for another MySQL storage engine.

In April 2009, Oracle Corporation entered into an agreement to purchase Sun Microsystems,[28] current owners of the MySQL intellectual property. Sun's board of directors unanimously approved the deal, it was also approved by Sun's shareholders, and finally also U.S. government approved the deal on August 20, 2009.[29]

See also

References

  1. ^ Robin Schumacher, Arjen Lentz. "Dispelling the Myths". MySQL AB. http://dev.mysql.com/tech-resources/articles/dispelling-the-myths.html. Retrieved 2007-02-10. 
  2. ^ Charles Babcock "Sun Locks Up MySQL, Looks To Future Web Development". InformationWeek. http://www.informationweek.com/news/showArticle.jhtml?articleID=206900327. Retrieved 2008-02-27. 
  3. ^ "What is MySQL?, MySQL 5.0 Reference Manual". MySQL AB. http://dev.mysql.com/doc/refman/5.0/en/what-is-mysql.html. Retrieved 2007-02-10. 
  4. ^ a b Sun Microsystems Announces Completion of MySQL Acquisition; Paves Way for Secure, Open Source Platform to Power the Network Economy, Sun Microsystems Press release, February 26, 2008
  5. ^ Sobel, Jason (21 December 2007). "Keeping Up". Facebook Blog. http://blog.facebook.com/blog.php?post=7899307130. 
  6. ^ Malik, Om (25 April 2008). "Facebook’s Insatiable Hunger for Hardware". GigaOM. http://gigaom.com/2008/04/25/facebooks-insatiable-hunger-for-hardware/. Retrieved 2008-10-30. 
  7. ^ "Wikimedia servers - Overall system architecture". http://meta.wikimedia.org/wiki/Wikimedia_servers#Overall_system_architecture. Retrieved 2009-09-11. 
  8. ^ Claburn, Thomas (24 April 2007). "Google Releases Improved MySQL Code". Information Week. http://www.informationweek.com/news/internet/showArticle.jhtml?articleID=199201237. Retrieved 2008-11-30. 
  9. ^ "MySQL Internals Manual". Dev.mysql.com. 2009-03-04. http://dev.mysql.com/doc/internals/en/index.html. Retrieved 2009-06-08. 
  10. ^ Jean-François Piéronne. "PCSI Kits of Open Source Software for OpenVMS". Pi-net.dyndns.org. http://www.pi-net.dyndns.org/anonymous/kits/. Retrieved 2009-06-08. 
  11. ^ "Which Should I Use: MySQL Enterprise or MySQL Community Server?". MySQL AB. http://www.mysql.com/products/which-edition.html. Retrieved 2009-04-08. 
  12. ^ "4.6.9. mysqlhotcopy - A Database Backup Program". MySQL 5.0 Reference Manual. Sun Microsystems. http://dev.mysql.com/doc/refman/5.0/en/mysqlhotcopy.html. Retrieved 2009-09-23. "mysqlhotcopy is a Perl script [...]. It uses Lock Tables, Flush Tables, and cp or scp to make a database backup quickly [...] but it can be run only on the same machine where the database directories are located. mysqlhotcopy works only for backing up MyISAM and Archive tables. It runs on Unix and NetWare." 
  13. ^ "Peter Zaitsev's blog". Mysqlperformanceblog.com. http://www.mysqlperformanceblog.com/2006/12/29/where-to-get-recent-mysql-version/. Retrieved 2009-06-08. 
  14. ^ "Kaj Arnö's reply". Planetmysql.org. http://www.planetmysql.org/kaj/?p=82. Retrieved 2009-06-08. 
  15. ^ "MySQL Max Build Policy". Planetmysql.org. 2006-07-21. http://www.planetmysql.org/kaj/?p=58. Retrieved 2009-06-08. 
  16. ^ "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. Retrieved 2009-06-08. 
  17. ^ "capttofu: FederatedX Pluggable Storage Engine Released!". Capttofu.livejournal.com. http://capttofu.livejournal.com/5798.html. Retrieved 2009-04-03. 
  18. ^ "Archives - Oops, we did it again (MySQL 5.1 released as GA wi". Planet MySQL. 2008-11-29. http://www.planetmysql.org/entry.php?id=16232. Retrieved 2009-04-03. 
  19. ^ "TPC-H Run on MySQL 5.1 and 6.0 | MySQL Performance Blog". MySQL Performance Blog. http://www.mysqlperformanceblog.com/2008/04/10/tpc-h-run-on-mysql-51-and-60/. Retrieved 2009-06-08. 
  20. ^ "Does MySQL support query parallelisation?". Forums.mysql.com. http://forums.mysql.com/read.php?106,78549,79006#msg-79006. Retrieved 2009-06-08. 
  21. ^ "Must I purchase MySQL Enterprise under MySQL's Commercial License in order to receive support?". MySQL AB. http://www.mysql.com/about/legal/supportpolicies/policies-05.html#q01. 
  22. ^ "MySQL AB :: MySQL Open Source License". Mysql.com. http://www.mysql.com/products/licensing/opensource-license.html. Retrieved 2009-06-08. 
  23. ^ "MySQL AB :: FLOSS License Exception". Mysql.com. http://www.mysql.com/company/legal/licensing/foss-exception.html. Retrieved 2009-06-08. 
  24. ^ "MySQL AB :: MySQL Commercial License". Mysql.com. http://www.mysql.com/company/legal/licensing/commercial-license.html. Retrieved 2009-06-08. 
  25. ^ "Oracle Plans to Increase Support for Open Source Software". Oracle and InnoDB. http://www.oracle.com/innodb/index.html. 
  26. ^ "MySQL to Promote New Open Source DB Engines from its Partners and Dev Community". MySQL AB. http://www.mysql.com/news-and-events/press-release/release_2006_21.html. 
  27. ^ "Oracle Buys Sleepycat, Is JBoss Next?". Charles Babcock. http://www.informationweek.com/software/showArticle.jhtml?articleID=180200853. 
  28. ^ "Oracle to Buy Sun". Sun Microsystems Press Release. http://www.sun.com/aboutsun/pr/2009-04/sunflash.20090420.1.xml. 
  29. ^ "Oracle wins U.S. approval to buy Sun Microsystems". Reuters. August 20, 2009. http://www.reuters.com/article/rbssTechMediaTelecomNews/idUSN2053486920090820. Retrieved 2009-09-30. 

External links



Shopping: mysql
Top
 
 
Learn More
Dominic Buono (Blogger)
Mambo (technology)
mSQL (technology)

What is the difference between mysql connect and mysql pconnect in PHP? Read answer...
How can you retrieve data in mysql? Read answer...
What is the easiest way to learn MySQL? Read answer...

Help us answer these
Password of mysql?
What is the logo of MySQL?
Is mysql a server?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "MySQL" Read more