<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Witslog Wiki &#187; Mysql</title>
	<atom:link href="http://witslog.com/wiki/category/technical/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://witslog.com/wiki</link>
	<description>Technical Log</description>
	<lastBuildDate>Fri, 14 May 2010 06:17:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>fetch the records through ajax and jquery in json format using kohana</title>
		<link>http://witslog.com/wiki/technical/php/fetch-the-records-through-ajax-and-jquery-in-json-format-using-kohana</link>
		<comments>http://witslog.com/wiki/technical/php/fetch-the-records-through-ajax-and-jquery-in-json-format-using-kohana#comments</comments>
		<pubDate>Fri, 14 May 2010 06:17:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Kohana]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Code]]></category>

		<guid isPermaLink="false">http://witslog.com/wiki/?p=140</guid>
		<description><![CDATA[HI All,
 After spending lot&#8217;s  of time, i got result in josn format in kohana. I want to fetch all records of last 3 minutes of comment table and it will display on my site after check is record already show on browser or not.
As...]]></description>
			<content:encoded><![CDATA[<p>HI All,</p>
<p><em><strong> After spending lot&#8217;s  of time, i got result in josn format in kohana. I want to fetch all records of last 3 minutes of comment table and it will display on my site after check is record already show on browser or not.</strong></em></p>
<p><strong>As we know kohana is MVC framework so we need to handle controller as well as model.</strong></p>
<p><strong>//Model</strong></p>
<p>In model first i write query to fetch records from database which is under a function get_last_three_minutes_comments.</p>
<p>public function get_last_three_minutes_comments($id){</p>
<p>$query = $this-&gt;db-&gt;query(&#8220;SELECT u.user_name, gs.* from comments as gs INNER JOIN users as u on gs.`user_id`=u.`user_id` WHERE DATE_SUB( now( ) , INTERVAL 3 MINUTE ) &lt; gs.speak_date and gs.group_id=$id ORDER BY id DESC&#8221;);<br />
return $query-&gt;result_array();<br />
}</p>
<p><strong>//Controller</strong></p>
<p>I call this model file from controller by write below code.</p>
<p>public function get_last_three_minutes_comments($page_id){<br />
$data =    $this-&gt;comment-&gt;get_last_three_minutes_comments($page_id); // i have already made a object in constructor for comment table.</p>
<p><strong>// As we know model return data in mixture of array and object and for json we need data only in array format. so here i manipulate data and convert into array format.</strong></p>
<p>$arr = array();<br />
$id=0;<br />
foreach($data as $id =&gt; $rec){<br />
$arr[$id] = array(&#8216;id&#8217;=&gt;$rec-&gt;id,&#8217;user_name&#8217;=&gt;$rec-&gt;user_name,&#8217;speak&#8217;=&gt;$rec-&gt;speak,&#8217;speak_time&#8217;=&gt;$rec-&gt;speak_date);<br />
$id++;<br />
}</p>
<p>//Now we change value in json format using json_encode function and return to JavaScript file by echo command.</p>
<p>echo json_encode(array(&#8216;comment_data&#8217;=&gt;$arr));<br />
}</p>
<p><strong>Javascript file</strong></p>
<p>//In jquery we use $.ajax function to get data from server by using ajax. $.ajax gets some parameter such as dataType which may be get, post, json as our requirement. I use json because i need to handle data in json format. Second parameter is url. url tell to server which page will be called. third one is success. When all server processing is completed then it return data in success which i get in mycomment variable.</p>
<p>$.ajax({<br />
dataType: &#8216;json&#8217;,<br />
url:url_main+&#8221;widgets/get_runtime_comment/&#8221;+tabid[1],<br />
success:function(mycomment){</p>
<p><strong>// In controller i make a array which name is comment_data. Now i access data of json by name of javascript variable in which holds all data then after write array name of php then after call by array index. such as call to user_name field we are below line</strong></p>
<p><strong>mycomment.comment_data[0].user_name;</strong></p>
<p><strong> mycomment is javascript variable name, comment_data is php array and user_name is index name of that array.</strong></p>
<p>len = mycomment.comment_data.length; // here i get total number of records for run a loop.<br />
i=0;<br />
while(i&lt;len){<br />
cmid = mycomment.comment_data[i].id; // here i get id of current record.<br />
comt = $(&#8216;#tabs-&#8217;+tabid[1]).children().find(&#8216;.commentbox&#8217;).find(&#8216;#&#8217;+cmid).html(); // Check whether this record is exist or not in current div.</p>
<p>//if i get blank then it will added into that particular div else ignore it.<br />
if(comt==null){<br />
dt = &#8216;&lt;div id=&#8221;&#8216;+mycomment.comment_data[i].id+&#8217;&gt;&#8217;+mycomment.comment_data[i].speak+&#8217;&lt;br&gt;By: &#8211; &#8216;+mycomment.comment_data[i].user_name+&#8217; on &#8216;+mycomment.comment_data[i].speak_time+&#8217;&lt;/div&gt;&#8217;;<br />
$(&#8216;#tabs-&#8217;+tabid[1]).children().find(&#8216;.commentbox&#8217;).find(&#8216;._group_comments&#8217;).prepend(dt);<br />
}<br />
i++;<br />
}</p>
<p>}<br />
});</p>
<p>I hope you will learn lot&#8217;s of thing from this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://witslog.com/wiki/technical/php/fetch-the-records-through-ajax-and-jquery-in-json-format-using-kohana/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Mysql</title>
		<link>http://witslog.com/wiki/technical/mysql/mysql</link>
		<comments>http://witslog.com/wiki/technical/mysql/mysql#comments</comments>
		<pubDate>Sat, 06 Mar 2010 22:57:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://witslog.com/wiki/?p=19</guid>
		<description><![CDATA[MySQL is a relational database  management system (RDBMS)[1] that runs as a server providing multi-user access to a number of  databases. MySQL is officially pronounced /ma???skju???l/ (&#8220;My  S-Q-L&#8221;),[2] but is often /ma?si??kw?l/ (&#8220;Micey  Quell&#8221;).[citation needed] It is  named for original...]]></description>
			<content:encoded><![CDATA[<p><strong>MySQL</strong> is a <a title="Relational database management system" href="http://en.wikipedia.org/wiki/Relational_database_management_system">relational database  management system</a> (RDBMS)<sup id="cite_ref-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-0">[1]</a></sup> that runs as a server providing multi-user access to a number of  databases. MySQL is officially pronounced <a title="Wikipedia:IPA for English" href="http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English">/ma???skju???l/</a> (&#8220;My  S-Q-L&#8221;),<sup id="cite_ref-whatismysql_1-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-whatismysql-1">[2]</a></sup> but is often <a title="Wikipedia:IPA for English" href="http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English">/ma?si??kw?l/</a> (&#8220;Micey  Quell&#8221;).<sup title="This claim needs references to  reliable sources">[<em><a title="Wikipedia:Citation needed" href="http://en.wikipedia.org/wiki/Wikipedia:Citation_needed">citation needed</a></em>]</sup> It is  named for original developer <a title="Michael  Widenius" href="http://en.wikipedia.org/wiki/Michael_Widenius">Michael Widenius</a>&#8217;s daughter My.<sup id="cite_ref-2"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-2">[3]</a></sup></p>
<p>The MySQL development project has made its <a title="Source code" href="http://en.wikipedia.org/wiki/Source_code">source  code</a> available under the terms of the <a title="GNU General Public License" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GNU General Public License</a>, as  well as under a variety of <a title="Proprietary software" href="http://en.wikipedia.org/wiki/Proprietary_software">proprietary</a> agreements. MySQL is owned  and sponsored by a single <a title="Business" href="http://en.wikipedia.org/wiki/Business">for-profit</a> firm, the <a title="Sweden" href="http://en.wikipedia.org/wiki/Sweden">Swedish</a> company <a title="MySQL  AB" href="http://en.wikipedia.org/wiki/MySQL_AB">MySQL AB</a>, now owned by <a title="Sun  Microsystems" href="http://en.wikipedia.org/wiki/Sun_Microsystems">Sun Microsystems</a>, a <a title="Subsidiary" href="http://en.wikipedia.org/wiki/Subsidiary">subsidiary</a> of <a title="Oracle Corporation" href="http://en.wikipedia.org/wiki/Oracle_Corporation">Oracle Corporation</a>.<sup id="cite_ref-sunacquire_3-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-sunacquire-3">[4]</a></sup></p>
<p>Members of the MySQL community have created several forks such as <a title="Drizzle (database server)" href="http://en.wikipedia.org/wiki/Drizzle_%28database_server%29">Drizzle</a> and <a title="MariaDB" href="http://en.wikipedia.org/wiki/MariaDB">MariaDB</a>.  Both forks were in progress long before the Oracle acquisition (Drizzle  was announced 8 months before the Sun acquisition).</p>
<p><a title="Free  software" href="http://en.wikipedia.org/wiki/Free_software">Free-software</a> projects that require a full-featured  database management system often use MySQL. Such projects include (for  example) <a title="WordPress" href="http://en.wikipedia.org/wiki/WordPress">WordPress</a>, <a title="PhpBB" href="http://en.wikipedia.org/wiki/PhpBB">phpBB</a> and  other software built on the <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> software stack. MySQL is also  used in many high-profile, large-scale <a title="World Wide  Web" href="http://en.wikipedia.org/wiki/World_Wide_Web">World Wide Web</a> products including <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Wikipedia">Wikipedia</a>,  <a title="Google" href="http://en.wikipedia.org/wiki/Google">Google</a>,  <a title="Drupal" href="http://en.wikipedia.org/wiki/Drupal">Drupal</a> and <a title="Facebook" href="http://en.wikipedia.org/wiki/Facebook">Facebook</a>.</p>
<h2>Uses</h2>
<p>Many <a title="Web application" href="http://en.wikipedia.org/wiki/Web_application">web applications</a> use MySQL as the database  component of a <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> software stack. Its popularity  for use with web applications is closely tied to the popularity of <a title="PHP" href="http://en.wikipedia.org/wiki/PHP">PHP</a>, which is  often combined with MySQL. Several high-traffic web sites (including <a title="Flickr" href="http://en.wikipedia.org/wiki/Flickr">Flickr</a>,<sup id="cite_ref-4"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-4">[5]</a></sup> <a title="Facebook" href="http://en.wikipedia.org/wiki/Facebook">Facebook</a>,<sup id="cite_ref-5"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-5">[6]</a></sup><sup id="cite_ref-6"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-6">[7]</a></sup> <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Wikipedia">Wikipedia</a>,<sup id="cite_ref-7"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-7">[8]</a></sup> <a title="Google" href="http://en.wikipedia.org/wiki/Google">Google</a><sup id="cite_ref-8"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-8">[9]</a></sup> (though not for searches), <a title="Nokia" href="http://en.wikipedia.org/wiki/Nokia">Nokia</a><sup id="cite_ref-9"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-9">[10]</a></sup> and <a title="YouTube" href="http://en.wikipedia.org/wiki/YouTube">YouTube</a><sup id="cite_ref-10"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-10">[11]</a></sup>)  use MySQL for data storage and logging of user data.</p>
<h2>[<a title="Edit section: Platforms and interfaces" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=2">edit</a>] Platforms and  interfaces</h2>
<p>MySQL code uses <a title="C (programming language)" href="http://en.wikipedia.org/wiki/C_%28programming_language%29">C</a> and <a title="C++" href="http://en.wikipedia.org/wiki/C%2B%2B">C++</a>. The <a title="SQL" href="http://en.wikipedia.org/wiki/SQL">SQL</a> parser uses <a title="Yacc" href="http://en.wikipedia.org/wiki/Yacc">yacc</a> and a  home-brewed <a title="Lexical analysis" href="http://en.wikipedia.org/wiki/Lexical_analysis">lexer</a>, sql_lex.cc<sup id="cite_ref-11"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-11">[12]</a></sup></p>
<p>MySQL works on many different <a title="System  platform" href="http://en.wikipedia.org/wiki/System_platform">system platforms</a>, including <a title="AIX  operating system" href="http://en.wikipedia.org/wiki/AIX_operating_system">AIX</a>, <a title="BSD/OS" href="http://en.wikipedia.org/wiki/BSD/OS">BSDi</a>, <a title="FreeBSD" href="http://en.wikipedia.org/wiki/FreeBSD">FreeBSD</a>,  <a title="HP-UX" href="http://en.wikipedia.org/wiki/HP-UX">HP-UX</a>, <a title="IBM i5/OS" href="http://en.wikipedia.org/wiki/IBM_i5/OS">i5/OS</a>, <a title="Linux" href="http://en.wikipedia.org/wiki/Linux">Linux</a>, <a title="Mac OS X" href="http://en.wikipedia.org/wiki/Mac_OS_X">Mac OS X</a>,  <a title="NetBSD" href="http://en.wikipedia.org/wiki/NetBSD">NetBSD</a>,  <a title="Novell  NetWare" href="http://en.wikipedia.org/wiki/Novell_NetWare">Novell NetWare</a>, <a title="OpenBSD" href="http://en.wikipedia.org/wiki/OpenBSD">OpenBSD</a>,  <a title="OpenSolaris" href="http://en.wikipedia.org/wiki/OpenSolaris">OpenSolaris</a>,  <a title="EComStation" href="http://en.wikipedia.org/wiki/EComStation">eComStation</a>,  <a title="OS/2" href="http://en.wikipedia.org/wiki/OS/2">OS/2</a> Warp,  <a title="QNX" href="http://en.wikipedia.org/wiki/QNX">QNX</a>, <a title="IRIX" href="http://en.wikipedia.org/wiki/IRIX">IRIX</a>, <a title="Solaris (operating system)" href="http://en.wikipedia.org/wiki/Solaris_%28operating_system%29">Solaris</a>, <a title="Symbian" href="http://en.wikipedia.org/wiki/Symbian">Symbian</a>, <a title="SunOS" href="http://en.wikipedia.org/wiki/SunOS">SunOS</a>, <a title="SCO  OpenServer" href="http://en.wikipedia.org/wiki/SCO_OpenServer">SCO OpenServer</a>, SCO <a title="UnixWare" href="http://en.wikipedia.org/wiki/UnixWare">UnixWare</a>,  <a title="Sanos" href="http://en.wikipedia.org/wiki/Sanos">Sanos</a>, <a title="Tru64" href="http://en.wikipedia.org/wiki/Tru64">Tru64</a> and <a title="Microsoft  Windows" href="http://en.wikipedia.org/wiki/Microsoft_Windows">Microsoft Windows</a>. A port of MySQL to <a title="OpenVMS" href="http://en.wikipedia.org/wiki/OpenVMS">OpenVMS</a> also exists.<sup id="cite_ref-12"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-12">[13]</a></sup></p>
<p>All major <a title="Programming language" href="http://en.wikipedia.org/wiki/Programming_language">programming languages</a> with  language-specific <a title="Application programming interface" href="http://en.wikipedia.org/wiki/Application_programming_interface">APIs</a> include <a title="Library (computing)" href="http://en.wikipedia.org/wiki/Library_%28computing%29">Libraries</a> for accessing MySQL databases.  In addition, an <a title="ODBC" href="http://en.wikipedia.org/wiki/ODBC">ODBC</a> interface called <a title="MyODBC" href="http://en.wikipedia.org/wiki/MyODBC">MyODBC</a> allows additional programming languages that support the ODBC interface  to communicate with a MySQL database, such as <a title="Active  Server Pages" href="http://en.wikipedia.org/wiki/Active_Server_Pages">ASP</a> or <a title="Adobe  ColdFusion" href="http://en.wikipedia.org/wiki/Adobe_ColdFusion">ColdFusion</a>. The MySQL server and  official libraries are mostly implemented in <a title="ANSI C" href="http://en.wikipedia.org/wiki/ANSI_C">ANSI C</a>/<a title="ANSI C++" href="http://en.wikipedia.org/wiki/ANSI_C%2B%2B">ANSI C++</a>.</p>
<h2>[<a title="Edit section: Management and Graphical Frontends" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=3">edit</a>]  Management  and Graphical Frontends</h2>
<div>
<div><a href="http://en.wikipedia.org/wiki/File:Mysqlwb-homepage.png"><img src="http://upload.wikimedia.org/wikipedia/en/thumb/e/ef/Mysqlwb-homepage.png/220px-Mysqlwb-homepage.png" alt="" width="220" height="154" /></a></p>
<div>
<div><a title="Enlarge" href="http://en.wikipedia.org/wiki/File:Mysqlwb-homepage.png"><img src="http://bits.wikimedia.org/skins-1.5/common/images/magnify-clip.png" alt="" width="15" height="11" /></a></div>
<p><a title="MySQL  Workbench" href="http://en.wikipedia.org/wiki/MySQL_Workbench">MySQL Workbench</a> in Windows, displaying the Home Screen  which streamlines use of its full capabilities</div>
</div>
</div>
<p>MySQL is primarily an <a title="RDBMS" href="http://en.wikipedia.org/wiki/RDBMS">RDBMS</a> and therefore ships with no <a title="Graphical user interface" href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI</a> tools to administer MySQL  databases or manage data contained within. Users may use the included <a title="Command line" href="http://en.wikipedia.org/wiki/Command_line">command-line</a> tools,<sup id="cite_ref-13"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-13">[14]</a></sup> or download <a href="http://en.wikipedia.org/wiki/MySQL#Official">MySQL  Frontends</a> from various parties that have developed desktop software  and web applications to manage MySQL databases, build database  structure, and work with data records.</p>
<h3>[<a title="Edit section: Official" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=4">edit</a>] Official</h3>
<p>The official <a title="MySQL Workbench" href="http://en.wikipedia.org/wiki/MySQL_Workbench">MySQL Workbench</a> is a free integrated  environment developed by MySQL AB, that enables users to graphically  administer MySQL databases and visually design database structure. MySQL  Workbench replaces the previous package of software, <a title="MySQL Workbench" href="http://en.wikipedia.org/wiki/MySQL_Workbench#GUI_Tools">MySQL GUI Tools</a>. Similar to other  third-party packages but still considered the authoritative MySQL  frontend, MySQL Workbench lets users manage the following:</p>
<ul>
<li>Database design &amp; modeling</li>
<li>SQL development — replacing MySQL Query Browser</li>
<li>Database administration — replacing MySQL Administrator</li>
</ul>
<p>MySQL Workbench is available in two editions, the regular <a title="Free and open source software" href="http://en.wikipedia.org/wiki/Free_and_open_source_software">free and open source</a> <em>Community  Edition</em> which may be downloaded from the MySQL website, and the  proprietary <em>Standard Edition</em> which extends and improves the  feature set of the Community Edition.</p>
<h3>[<a title="Edit section: Third party" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=5">edit</a>] Third party</h3>
<p>Several other third-party proprietary and <a title="Free software" href="http://en.wikipedia.org/wiki/Free_software">free</a> graphical administration applications (or &#8220;Frontends&#8221;) are available  that integrate with MySQL and enable users to work with database  structure and data visually. Some well-known frontends are:</p>
<ul>
<li><a title="PhpMyAdmin" href="http://en.wikipedia.org/wiki/PhpMyAdmin">phpMyAdmin</a> &#8211; a free <a title="World Wide Web" href="http://en.wikipedia.org/wiki/World_Wide_Web">Web</a>-based frontend widely installed by <a title="Web  hosting service" href="http://en.wikipedia.org/wiki/Web_hosting_service">Web hosts</a> worldwide, since it is developed in <a title="PHP" href="http://en.wikipedia.org/wiki/PHP">PHP</a> and only  requires the <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP stack</a> to run.</li>
<li><a title="HeidiSQL" href="http://en.wikipedia.org/wiki/HeidiSQL">HeidiSQL</a> &#8211; a full featured free frontend that runs on <a title="Windows" href="http://en.wikipedia.org/wiki/Windows">Windows</a>, and can connect to local or remote  MySQL servers to manage databases, tables, column structure, and  individual data records. Also supports specialised GUI features for  date/time fields and enumerated multiple-value fields<sup id="cite_ref-14"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-14">[15]</a></sup>.</li>
<li><a title="Navicat" href="http://en.wikipedia.org/wiki/Navicat">Navicat</a> &#8211; a series of proprietary graphical database management applications,  developed for Windows, Macintosh and Linux.</li>
<li>Other available proprietary MySQL frontends include <a title="Adminer" href="http://en.wikipedia.org/wiki/Adminer">Adminer</a>,  <a title="Aqua  Data Studio" href="http://en.wikipedia.org/wiki/Aqua_Data_Studio">Aqua Data Studio</a>, <a title="DbForge Studio for MySQL" href="http://en.wikipedia.org/wiki/DbForge_Studio_for_MySQL">dbForge Studio for MySQL</a>, <a title="Epictetus" href="http://en.wikipedia.org/wiki/Epictetus">Epictetus</a>,  <a title="Oracle SQL Developer" href="http://en.wikipedia.org/wiki/Oracle_SQL_Developer">Oracle SQL Developer</a>, <a title="SchemaBank" href="http://en.wikipedia.org/wiki/SchemaBank">SchemaBank</a>,  <a title="SQLyog" href="http://en.wikipedia.org/wiki/SQLyog">SQLyog</a>,  <a title="SQLPro  SQL Client" href="http://en.wikipedia.org/wiki/SQLPro_SQL_Client">SQLPro SQL Client</a>, <a title="Toad  (software)" href="http://en.wikipedia.org/wiki/Toad_%28software%29">Toad</a> and <a title="Toad Data  Modeler" href="http://en.wikipedia.org/wiki/Toad_Data_Modeler">Toad Data Modeler</a>.</li>
</ul>
<h2>[<a title="Edit section: Deployment" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=6">edit</a>] Deployment</h2>
<p>MySQL can be built and installed manually from source code, but this  can be tedious so it is more commonly installed from a binary package  unless special customizations are required. On most Linux distributions  the <a title="Package management system" href="http://en.wikipedia.org/wiki/Package_management_system">package management system</a> can  download and install MySQL with minimal effort, though further  configuration is often required to adjust security and optimization  settings.</p>
<p>Though MySQL began as a low-end alternative to more powerful  proprietary databases, it has gradually evolved to support higher-scale  needs as well.</p>
<p>It is still most commonly used in small to medium scale single-server  deployments, either as a component in a <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> based web application or as a  standalone database server. Much of MySQL&#8217;s appeal originates in its  relative simplicity and ease of use, which is enabled by an ecosystem of  open source tools such as <a title="PhpMyAdmin" href="http://en.wikipedia.org/wiki/PhpMyAdmin">phpMyAdmin</a>.</p>
<p>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.</p>
<p>There are however limits to how far performance can scale on a single  server, so on larger scales, multi-server MySQL 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 <a title="Replication (computer science)" href="http://en.wikipedia.org/wiki/Replication_%28computer_science%29#Database_replication">replicated</a> to multiple  slaves that handle all read operations.<sup id="cite_ref-15"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-15">[16]</a></sup> The master server synchronizes continually with its 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 <a title="Memcached" href="http://en.wikipedia.org/wiki/Memcached">memcached</a>,  or breaking down a database into smaller chunks called <a title="Shard (database architecture)" href="http://en.wikipedia.org/wiki/Shard_%28database_architecture%29">shards</a> which can be spread  across a number of distributed server clusters.<sup id="cite_ref-16"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-16">[17]</a></sup></p>
<h2>[<a title="Edit section: Features" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=7">edit</a>] Features</h2>
<p>As of April 2009<sup><a rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit">[update]</a></sup>, MySQL offers  MySQL 5.1 in two different variants: the MySQL Community Server and <a title="MySQL  Enterprise" href="http://en.wikipedia.org/wiki/MySQL_Enterprise">Enterprise Server</a>.<sup id="cite_ref-17"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-17">[18]</a></sup> They have a common code base and include the following features:</p>
<ul>
<li>A broad subset of <a title="SQL:1999" href="http://en.wikipedia.org/wiki/SQL:1999">ANSI SQL 99</a>, as well as extensions</li>
<li>Cross-platform support</li>
<li><a title="Stored procedure" href="http://en.wikipedia.org/wiki/Stored_procedure">Stored procedures</a></li>
<li><a title="Database trigger" href="http://en.wikipedia.org/wiki/Database_trigger">Triggers</a></li>
<li><a title="Cursor (databases)" href="http://en.wikipedia.org/wiki/Cursor_%28databases%29">Cursors</a></li>
<li>Updatable <a title="View (database)" href="http://en.wikipedia.org/wiki/View_%28database%29">Views</a></li>
<li>True <a title="Varchar" href="http://en.wikipedia.org/wiki/Varchar">Varchar</a> support</li>
<li>INFORMATION_SCHEMA</li>
<li>Strict mode</li>
<li><a title="X/Open XA" href="http://en.wikipedia.org/wiki/X/Open_XA">X/Open  XA</a> <a title="Distributed transaction processing" href="http://en.wikipedia.org/wiki/Distributed_transaction_processing">distributed  transaction processing</a> (DTP) support; <a title="Two-phase-commit protocol" href="http://en.wikipedia.org/wiki/Two-phase-commit_protocol">two phase commit</a> as part of this, using Oracle&#8217;s <a title="InnoDB" href="http://en.wikipedia.org/wiki/InnoDB">InnoDB</a> engine</li>
<li>Independent <a title="Storage engine" href="http://en.wikipedia.org/wiki/Storage_engine">storage engines</a> (<a title="MyISAM" href="http://en.wikipedia.org/wiki/MyISAM">MyISAM</a> for  read speed, InnoDB for transactions and <a title="Referential integrity" href="http://en.wikipedia.org/wiki/Referential_integrity">referential integrity</a>, <a title="MySQL Archive" href="http://en.wikipedia.org/wiki/MySQL_Archive">MySQL  Archive</a> for storing historical data in little space)</li>
<li>Transactions with the InnoDB, BDB and Cluster storage engines;  savepoints with InnoDB</li>
<li><a title="Secure Sockets Layer" href="http://en.wikipedia.org/wiki/Secure_Sockets_Layer">SSL</a> support</li>
<li>Query <a title="Caching" href="http://en.wikipedia.org/wiki/Caching">caching</a></li>
<li>Sub-<a title="Select (SQL)" href="http://en.wikipedia.org/wiki/Select_%28SQL%29">SELECTs</a> (i.e. nested SELECTs)</li>
<li>Replication support (i.e. Master-Master Replication &amp;  Master-Slave Replication) with one master per slave, many slaves per  master, no automatic support for multiple masters per slave.</li>
<li>Full-text <a title="Indexing" href="http://en.wikipedia.org/wiki/Indexing">indexing</a> (<a title="Index  (database)" href="http://en.wikipedia.org/wiki/Index_%28database%29">Index (database)</a>) and searching using MyISAM engine</li>
<li>Embedded database library</li>
<li>Partial <a title="Unicode" href="http://en.wikipedia.org/wiki/Unicode">Unicode</a> support (<a title="UTF-8" href="http://en.wikipedia.org/wiki/UTF-8">UTF-8</a> and <a title="UTF-16/UCS-2" href="http://en.wikipedia.org/wiki/UTF-16/UCS-2">UCS-2</a> encoded strings are limited to the <a title="Basic Multilingual Plane" href="http://en.wikipedia.org/wiki/Basic_Multilingual_Plane">BMP</a>)</li>
<li>Partial <a title="ACID" href="http://en.wikipedia.org/wiki/ACID">ACID</a> compliance (full compliance only when using the non-default storage  engines InnoDB, <a title="Berkeley DB" href="http://en.wikipedia.org/wiki/Berkeley_DB">BDB</a> and Cluster)</li>
<li><a title="Shared-nothing" href="http://en.wikipedia.org/wiki/Shared-nothing">Shared-nothing</a> clustering  through <a title="MySQL Cluster" href="http://en.wikipedia.org/wiki/MySQL_Cluster">MySQL Cluster</a></li>
<li>Hot backup (via <code>mysqlhotcopy</code>) under certain conditions<sup id="cite_ref-18"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-18">[19]</a></sup></li>
</ul>
<p>The developers release monthly versions of the MySQL Enterprise  Server. The sources can be obtained either from MySQL&#8217;s customer-only  Enterprise site or from MySQL&#8217;s <a title="Bazaar  (software)" href="http://en.wikipedia.org/wiki/Bazaar_%28software%29">Bazaar</a> 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.<sup id="cite_ref-19"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-19">[20]</a></sup><sup id="cite_ref-20"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-20">[21]</a></sup></p>
<h3>[<a title="Edit section: Distinguishing features" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=8">edit</a>] Distinguishing features</h3>
<p>MySQL implements the following features, which some other <a title="RDBMS" href="http://en.wikipedia.org/wiki/RDBMS">RDBMS</a> systems may not:</p>
<ul>
<li>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 <a title="Run  time (computing)" href="http://en.wikipedia.org/wiki/Run_time_%28computing%29">run time</a>):
<ul>
<li>Native storage engines (<a title="MyISAM" href="http://en.wikipedia.org/wiki/MyISAM">MyISAM</a>, <a title="Falcon (storage engine)" href="http://en.wikipedia.org/wiki/Falcon_%28storage_engine%29">Falcon</a>, Merge, Memory (heap), <a title="MySQL  Federated" href="http://en.wikipedia.org/wiki/MySQL_Federated">Federated</a>, <a title="MySQL Archive" href="http://en.wikipedia.org/wiki/MySQL_Archive">Archive</a>,  <a title="Comma-separated values" href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV</a>, Blackhole, <a title="MySQL Cluster" href="http://en.wikipedia.org/wiki/MySQL_Cluster">Cluster</a>,  <a title="Berkeley DB" href="http://en.wikipedia.org/wiki/Berkeley_DB">Berkeley  DB</a>, EXAMPLE, and <a title="Maria (storage engine)" href="http://en.wikipedia.org/wiki/Maria_%28storage_engine%29">Maria</a>)</li>
<li>Partner-developed storage engines (<a title="InnoDB" href="http://en.wikipedia.org/wiki/InnoDB">InnoDB</a>, <a title="SolidDB" href="http://en.wikipedia.org/wiki/SolidDB">solidDB</a>,  NitroEDB, <a title="Infobright" href="http://en.wikipedia.org/wiki/Infobright">Infobright</a> (formerly Brighthouse), <a title="Kickfire" href="http://en.wikipedia.org/wiki/Kickfire">Kickfire</a>,  <a title="XtraDB (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=XtraDB&amp;action=edit&amp;redlink=1">XtraDB</a>, <a title="IBM DB2" href="http://en.wikipedia.org/wiki/IBM_DB2">IBM DB2</a><sup id="cite_ref-21"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-21">[22]</a></sup>)</li>
<li>Community-developed storage engines (<a title="Memcache engine (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=Memcache_engine&amp;action=edit&amp;redlink=1">memcache  engine</a>, <a title="Web  server" href="http://en.wikipedia.org/wiki/Web_server">httpd</a>, PBXT, <a title="Revision Engine (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=Revision_Engine&amp;action=edit&amp;redlink=1">Revision  Engine</a>)</li>
<li>Custom storage engines</li>
</ul>
</li>
<li>Commit grouping, gathering multiple transactions from multiple  connections together to increase the number of commits per second.</li>
</ul>
<h2>[<a title="Edit section: Product History" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=9">edit</a>] Product History</h2>
<p>Milestones in MySQL development include:</p>
<ul>
<li>Original development of MySQL by <a title="Michael  Widenius" href="http://en.wikipedia.org/wiki/Michael_Widenius">Michael Widenius</a> and <a title="David Axmark" href="http://en.wikipedia.org/wiki/David_Axmark">David  Axmark</a> beginning in 1994<sup id="cite_ref-22"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-22">[23]</a></sup></li>
<li>First internal release on 23 May 1995</li>
<li>Windows version was released on 8 January 1998 for Windows 95 and NT</li>
<li>Version 3.23: beta from June 2000, production release January 2001</li>
<li>Version 4.0: beta from August 2002, production release March 2003 (<a title="Union (SQL)" href="http://en.wikipedia.org/wiki/Union_%28SQL%29">unions</a>)</li>
<li>Version 4.01: beta from August 2003, Jyoti adopts MySQL for database  tracking</li>
<li>Version 4.1: beta from June 2004, production release October 2004 (<a title="R-tree" href="http://en.wikipedia.org/wiki/R-tree">R-trees</a> and <a title="B-tree" href="http://en.wikipedia.org/wiki/B-tree">B-trees</a>,  subqueries, <a title="Prepared statement (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=Prepared_statement&amp;action=edit&amp;redlink=1">prepared  statements</a>)</li>
<li>Version 5.0: beta from March 2005, production release October 2005 (<a title="Cursor (databases)" href="http://en.wikipedia.org/wiki/Cursor_%28databases%29">cursors</a>, <a title="Stored  procedure" href="http://en.wikipedia.org/wiki/Stored_procedure">stored procedures</a>, <a title="Database  trigger" href="http://en.wikipedia.org/wiki/Database_trigger">triggers</a>, <a title="View  (database)" href="http://en.wikipedia.org/wiki/View_%28database%29">views</a>, <a title="Database  transaction" href="http://en.wikipedia.org/wiki/Database_transaction">XA transactions</a>)</li>
</ul>
<dl>
<dd>The developer of the Federated Storage Engine states that &#8220;The  Federated Storage Engine is a <a title="Proof of  concept" href="http://en.wikipedia.org/wiki/Proof_of_concept">proof-of-concept</a> storage engine&#8221;,<sup id="cite_ref-23"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-23">[24]</a></sup> 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 <a rel="nofollow" href="http://www.oreillynet.com/pub/a/databases/2006/08/10/mysql-federated-tables.html">&#8220;MySQL Federated Tables: The  Missing Manual&#8221;</a>.</dd>
</dl>
<ul>
<li>Sun Microsystems acquired <a title="MySQL AB" href="http://en.wikipedia.org/wiki/MySQL_AB">MySQL AB</a> on 26 February 2008.<sup id="cite_ref-sunacquire_3-1"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-sunacquire-3">[4]</a></sup></li>
<li>Version 5.1: production release 27 November 2008 (event scheduler, <a title="Partition (database)" href="http://en.wikipedia.org/wiki/Partition_%28database%29">partitioning</a>, plugin API, row-based  replication, <a title="Server log" href="http://en.wikipedia.org/wiki/Server_log">server log</a> tables)</li>
</ul>
<dl>
<dd>Version 5.1 contained 20 known crashing and wrong result bugs in  addition to the 35 present in version 5.0.<sup id="cite_ref-24"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-24">[25]</a></sup></dd>
<dd>MySQL 5.1 and 6.0 showed poor performance when used for <a title="Data  warehousing" href="http://en.wikipedia.org/wiki/Data_warehousing">data warehousing</a> — partly due to  its inability to utilize multiple CPU cores for processing a single  query.<sup id="cite_ref-25"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-25">[26]</a></sup></dd>
</dl>
<ul>
<li>Oracle acquired Sun Microsystems on January 27, 2010.<a rel="nofollow" href="http://www.oracle.com/us/sun/index.htm">Oracle and Sun</a></li>
</ul>
<h3>[<a title="Edit section: Future releases" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=10">edit</a>] Future releases</h3>
<p>The MySQL 6 roadmap outlines support for:</p>
<ul>
<li><a title="Referential integrity" href="http://en.wikipedia.org/wiki/Referential_integrity">Referential integrity</a> and <a title="Foreign key" href="http://en.wikipedia.org/wiki/Foreign_key">Foreign  key</a> support for all storage engines is targeted for release in  MySQL 6.1 (although it has been present since version 3.23.44 for <a title="InnoDB" href="http://en.wikipedia.org/wiki/InnoDB">InnoDB</a>).</li>
<li>Support for supplementary <a title="Unicode" href="http://en.wikipedia.org/wiki/Unicode">Unicode</a> characters, beyond the 65,536 characters of the <a title="Basic Multilingual Plane" href="http://en.wikipedia.org/wiki/Basic_Multilingual_Plane">Basic Multilingual  Plane</a> (BMP); announced for MySQL 6.0.</li>
<li>A new storage engine called <a title="Falcon (storage engine)" href="http://en.wikipedia.org/wiki/Falcon_%28storage_engine%29">Falcon</a>. A preview of Falcon is  available on MySQL&#8217;s website.</li>
</ul>
<p>The 2006 roadmap for future versions plans support for <a title="Parallel  computing" href="http://en.wikipedia.org/wiki/Parallel_computing">parallelization</a>.<sup id="cite_ref-26"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-26">[27]</a></sup></p>
<h2>[<a title="Edit section: Support and licensing" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=11">edit</a>] Support and licensing</h2>
<p>Via MySQL Enterprise MySQL AB offers support itself, including a <a title="24/7" href="http://en.wikipedia.org/wiki/24/7">24/7</a> 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 <a title="Mailing  list" href="http://en.wikipedia.org/wiki/Mailing_list">mailing lists</a>, employees and other users are often available  in several <a title="Internet Relay Chat" href="http://en.wikipedia.org/wiki/Internet_Relay_Chat">IRC channels</a> providing assistance.</p>
<p>In addition to official product support from Sun, other companies  offer support and services related to usage of MySQL. For example, <a rel="nofollow" href="http://www.pythian.com/">Pythian</a> offers full database administration, architecture, optimization and  training services. <a title="Percona (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=Percona&amp;action=edit&amp;redlink=1">Percona</a> and <a rel="nofollow" href="http://www.42sql.com/">42sql</a> offer services related to optimization and <a title="Monty  Program Ab" href="http://en.wikipedia.org/wiki/Monty_Program_Ab">Monty Program Ab</a> offers <a title="Non-recurring engineering" href="http://en.wikipedia.org/wiki/Non-recurring_engineering">non-recurring engineering</a> such as  patches to MySQL. <a title="OpenQuery (page does not exist)" href="http://en.wikipedia.org/w/index.php?title=OpenQuery&amp;action=edit&amp;redlink=1">OpenQuery</a> provides MySQL training.</p>
<p>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 <a title="Performance tuning" href="http://en.wikipedia.org/wiki/Performance_tuning">performance tuning</a> and <a title="Systems  architecture" href="http://en.wikipedia.org/wiki/Systems_architecture">system architecture</a> advice. The MySQL <a title="Network  monitoring" href="http://en.wikipedia.org/wiki/Network_monitoring">Network Monitoring</a> and Advisory Service monitoring tool  for <a title="Database server" href="http://en.wikipedia.org/wiki/Database_server">database servers</a> is available only to MySQL  Enterprise customers.</p>
<p>Potential users can install MySQL Server as <a title="Free software" href="http://en.wikipedia.org/wiki/Free_software">free  software</a> under the <a title="GNU General Public License" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GNU General Public License</a> (GPL),  and the <a title="MySQL Enterprise" href="http://en.wikipedia.org/wiki/MySQL_Enterprise">MySQL Enterprise</a> subscriptions include a  GPL version of the server, with a traditional <a title="Proprietary software" href="http://en.wikipedia.org/wiki/Proprietary_software">proprietary</a> version available on  request at no additional cost for cases where the intended use is  incompatible with the GPL.<sup id="cite_ref-27"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-27">[28]</a></sup></p>
<p>Both the MySQL server software itself and the client libraries use <a title="Dual license" href="http://en.wikipedia.org/wiki/Dual_license">dual-licensing</a> distribution. Users may choose  the GPL,<sup id="cite_ref-28"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-28">[29]</a></sup> which MySQL has extended with a <a title="Alternative terms for free software" href="http://en.wikipedia.org/wiki/Alternative_terms_for_free_software">FLOSS</a> License Exception.  It allows Software licensed under other <a title="Open  Source Initiative" href="http://en.wikipedia.org/wiki/Open_Source_Initiative">OSI</a>-compliant <a title="Open  source license" href="http://en.wikipedia.org/wiki/Open_source_license">open source licenses</a>, which are  not compatible to the GPL, to link against the MySQL client libraries.<sup id="cite_ref-29"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-29">[30]</a></sup></p>
<p>Customers that do not wish to follow the terms of the GPL may  purchase a proprietary license.<sup id="cite_ref-30"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-30">[31]</a></sup></p>
<p><a title="List of trademarked open source software" href="http://en.wikipedia.org/wiki/List_of_trademarked_open_source_software">Like many open-source  programs</a>, MySQL has <a title="Trademark" href="http://en.wikipedia.org/wiki/Trademark">trademarked</a> its name, which others may use only  with the trademark holder&#8217;s permission.<sup id="cite_ref-31"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-31">[32]</a></sup></p>
<h2>[<a title="Edit section: Corporate backing history" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit&amp;section=12">edit</a>] Corporate backing  history</h2>
<p>In October 2005, <a title="Oracle  Corporation" href="http://en.wikipedia.org/wiki/Oracle_Corporation">Oracle Corporation</a> acquired <a title="Innobase" href="http://en.wikipedia.org/wiki/Innobase">Innobase</a> OY, the <a title="Finland" href="http://en.wikipedia.org/wiki/Finland">Finnish</a> company that developed the third-party <a title="InnoDB" href="http://en.wikipedia.org/wiki/InnoDB">InnoDB</a> storage engine that allows MySQL to provide such functionality as  transactions and <a title="Foreign key" href="http://en.wikipedia.org/wiki/Foreign_key">foreign keys</a>. After the acquisition, an Oracle <a title="News release" href="http://en.wikipedia.org/wiki/News_release">press release</a><sup id="cite_ref-32"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-32">[33]</a></sup> mentioned that the contracts that make the company&#8217;s software available  to <a title="MySQL AB" href="http://en.wikipedia.org/wiki/MySQL_AB">MySQL  AB</a> 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 &#8220;multi-year&#8221; extension of their licensing agreement.<sup id="cite_ref-33"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-33">[34]</a></sup>.</p>
<p>In February 2006, Oracle Corporation acquired <a title="Sleepycat  Software" href="http://en.wikipedia.org/wiki/Sleepycat_Software">Sleepycat Software</a>,<sup id="cite_ref-34"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-34">[35]</a></sup> makers of the <a title="Berkeley DB" href="http://en.wikipedia.org/wiki/Berkeley_DB">Berkeley DB</a>, a database engine providing the  basis for another MySQL storage engine. This had little effect, as  Berkeley DB was not widely used, and was deprecated (due to lack of use)  in MySQL 5.1.12, a pre-GA release of MySQL 5.1 released in October  2006.<sup id="cite_ref-35"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-35">[36]</a></sup></p>
<p>In January 2008, <a title="Sun  Microsystems" href="http://en.wikipedia.org/wiki/Sun_Microsystems">Sun Microsystems</a> bought MySQL<sup id="cite_ref-36"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-36">[37]</a></sup> for USD $1 billion.</p>
<p>In April 2009, Oracle Corporation entered into an agreement to  purchase <a title="Sun Microsystems" href="http://en.wikipedia.org/wiki/Sun_Microsystems">Sun Microsystems</a>,<sup id="cite_ref-37"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-37">[38]</a></sup> then owners of the MySQL intellectual property. Sun&#8217;s board of  directors unanimously approved the deal, it was also approved by Sun&#8217;s  shareholders, and by the U.S. government on August 20, 2009.<sup id="cite_ref-38"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-38">[39]</a></sup> On December 14, 2009, Oracle pledged to continue to enhance MySQL.<sup id="cite_ref-39"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-39">[40]</a></sup> as it had done for the previous 4 years. The Oracle acquisition was  approved by the European Commission on January 21, 2010<sup id="cite_ref-40"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-40">[41]</a></sup>.</p>
]]></content:encoded>
			<wfw:commentRss>http://witslog.com/wiki/technical/mysql/mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

