Subjects covered include:
- Getting started with MySQL
- Data Types
- Limit and Offset
- Creating databases
- Using Variables
- Comment MySQL
- ORDER BY
- Group By
- Error 1055: ONLY_FULL_GROUP_BY: something is not in GROUP BY clause ...
- JOINS: Join 3 table with the same name of id.
- String operations
- Date and Time Operations
- Handling Time Zones
- Regular Expressions
- Table Creation
- ALTER TABLE
- Drop Table
- MySQL LOCK TABLE
- Error codes
- Stored routines (procedures and functions)
- Indexes and Keys
- Full-Text search
- PREPARE Statements
- Extract values from JSON type
- MySQL Admin
- Configuration and tuning
- Install Mysql container with Docker-Compose
- Character Sets and Collations
- MyISAM Engine
- Converting from MyISAM to InnoDB
- Log files
- Backup using mysqldump
- LOAD DATA INFILE
- MySQL Unions
- MySQL client
- Temporary Tables
- Customize PS1
- Dealing with sparse or missing data
- Connecting with UTF-8 Using Various Programming language.
- Time with subsecond precision
- One to Many
MySQL is an open source relational database management system (RDBMS). Its name is a combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language.
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). In 2010, when Oracle acquired Sun, Widenius forked the open-source MySQL project to create MariaDB.
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.
MySQL is written in C and C++. Its SQL parser is written in yacc, but it uses a home-brewed lexical analyzer. MySQL works on many system platforms, including AIX, BSDi, FreeBSD, HP-UX, eComStation, i5/OS, 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.
The MySQL server software itself and the client libraries use dual-licensing distribution. They are offered under GPL version 2, or a proprietary license.
Support can be obtained from the official manual. 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, including MariaDB and Percona.
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". It has also been tested to be a "fast, stable and true multi-user, multi-threaded sql database server".
MySQL was created by a Swedish company, MySQL AB, founded by David Axmark, Allan Larsson and Michael "Monty" Widenius. Original development of MySQL by Widenius and Axmark began in 1994. 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.
MySQL is offered under two different editions: the open source MySQL Community Server and the proprietary Enterprise Server.
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.