Why does WordPress need MySQL?

Why does WordPress need MySQL?

A WordPress website consists of two main elements:

  1. The WordPress files (this includes core installation files and themes, as well as plugins and uploads, which reside in the wp-content directory).
  2. The MySQL database, where the actual content is stored.
The database also holds most of your site's configuration options. 
Whenever WordPress loads a page or a post for a visitor, it will request the content to the database. Without the MySQL database, the visitor wouldn't see any of your content -- so, it's pretty important!
At Performance Foundry we take several steps to ensure the fastest database processing:
  • An object cache (faster read operations).
  • A MySQL drop-in called Aurora, where possible (several times faster than standard MySQL).
  • Database spring cleaning to remove built-up grime.
  • A separate, scalable database environment to ensure suitable resources.
    • Related Articles

    • How do I add a new user to WordPress?

      When we're working on your site, we need access to your WordPress dashboard. You can either give us your personal logins, or you can create a new administrator account for us. How to create a new user 1. Log in to your WordPress dashboard.  2. Click ...
    • Anvil Performance Tab: Speeding up your WordPress website

      What to expect from the Performance Tab? This feature provides speed improvement for sites, and Google Page Speed scores. The aim is to remove dependence on multiple external plugins and create a standardized approach that will function for the ...
    • Do I need to regenerate thumbnails?

      We are occasionally asked to regenerate thumbnails on client sites, but this should only be done if the size of the thumbnail has been changed in the site code. For example, you may need this to be done after a theme change. If thumbnails are missing ...
    • What WordPress theme companies do you recommend?

      At Performance Foundry, we have built our own theme framework, as the basis of much of our custom work. Foundry Bootstrap is based on the popular Underscores starter theme and optimised for WordPress through custom functions and styles.  However, if ...
    • "Log in through wordpress.com" logs in wrong user

      If you log into your site using the "log in through wordpress.com" button and find that you are logged in as a different user, this is likely caused by Jetpack being confused. :) You should be able to resolve this by disconnecting the incorrect user ...