MySQL: how it works and its ecosystem
MySQL was created in 1995 by MySQL AB, acquired by Sun in 2008 and then Oracle in 2010. It's today the most deployed open-source RDBMS in the world, largely thanks to the LAMP stack (Linux/Apache/MySQL/PHP) that fueled the web explosion. WordPress, Drupal, Joomla, Magento and Laravel use MySQL by default. Its version 8.0 (and 8.4 LTS released in 2024) brings significant improvements: window functions, JSON_TABLE, recursive CTEs, and a redesigned InnoDB engine.
- Storage engine: InnoDB by default (ACID transactional, row-level locking). MyISAM still exists for very specific uses but doesn't support transactions.
- Strengths: extremely simple to administer, abundant ecosystem (phpMyAdmin, MySQL Workbench), very mature master-replica replication, excellent raw read performance.
- Weaknesses: less rich than PostgreSQL on data types (no native arrays, no basic geometric types), slightly less sophisticated optimizer, more permissive transaction handling.
- Hosting: available by default on 100% of shared and VPS offerings on the market.