« Back to Glossary Index

MySQL is a free, open-source relational database management system, and it's the database WordPress uses by default to store virtually everything on a site — posts, pages, comments, user accounts, and settings alike.

MySQL stores information in structured tables made up of rows and columns, with relationships defined between them. WordPress uses a specific, standardized set of MySQL tables — `wp_posts` for content, `wp_users` for accounts, and several others — that make up a site's complete underlying database.

  • It's free, open-source, and available on virtually every hosting provider
  • It's mature, extremely well-documented, and thoroughly proven at scale
  • It performs efficiently even as a site's underlying data grows substantially
  • It integrates natively and seamlessly with PHP, WordPress's own core language

Most day-to-day interaction with a MySQL database happens invisibly, through WordPress's own admin interface. Direct database access — for advanced troubleshooting, migrations, or manual cleanup — typically happens through phpMyAdmin, a visual tool usually available through a hosting provider's control panel.

Many modern hosts now use MariaDB instead, a fully compatible fork of MySQL that offers largely the same functionality with some additional performance improvements — from WordPress's perspective, the two behave essentially identically.

« Back to Index
Share This