Knowledge base

Database tools for your WordPress website

Run a safe SQL query, change your database password and publish chosen tables from staging, all from the WordPress Tools tab.

Zinn®, our Viking, reading his checklist beside an index of articles with one open.

Your WordPress website keeps its posts, pages, settings, users and orders in a database. Open your website, then WordPress, then Tools, to work with it directly.

These tools are on our own hosting. A website on a partner platform shows a short note instead.

Run a database query

The Database query card runs one SQL statement against your website's database.

  • SELECT, SHOW, DESCRIBE and EXPLAIN always run, read-only.
  • INSERT, UPDATE, DELETE and REPLACE run only when you tick Allow changes. UPDATE and DELETE need a WHERE, so one statement cannot change every row.
  • Press Preview change first. It runs the change, counts the rows it would affect and undoes it, so nothing is saved.
  • When you press Run change, we ask you to confirm and tell you how many rows it will change. After a change, WordPress's cache is cleared too, so the website shows the new value straight away.

Every query is recorded in your activity log by its type, never by its text.

Change the database password

The Database password card changes the password WordPress uses to reach its database.

  1. Press Change database password and confirm.
  2. We set the new password, write it into wp-config.php in the same step, and check it with a real sign-in.
  3. If anything fails, your website goes back to its current password and keeps working.

Your website cannot reach its database for about a second while the new password is set. Any other tool that signs in to this database with the old password stops working. The password is never shown.

Publish chosen tables from staging

When you publish a staging copy's database over your live website, you can tick only the tables to copy, for example wp_options. Every other live table stays as it is. Leave every box unticked to copy the whole database. See Testing changes on staging first for the full steps.

Repair and optimise

The Database maintenance add-on repairs and optimises your database tables for you every month. The Repair and optimise card links to it.

Latest from the blog

What we have been writing about hosting, SEO and running sites at scale.

SEO and Link Building from the Hosting Layer: A 2026 Operator's View

How hosting shapes indexing and link equity in 2026: keeping pages indexed, vetting aged domains before you build on them, link building without a footprint, and an honest line on what infrastructure can and cannot do for SEO.

Read the post →

Making WordPress Fast and Secure: A Performance and Plugin Checklist

A practical checklist for fast, secure WordPress: server-level caching, a per-site object cache, the handful of plugins worth running, keeping the stack current, and the WooCommerce pages you must never cache.

Read the post →

How to Choose Managed Web Hosting in 2026: A Buyer's Guide

What actually separates good managed hosting from a cheap box with a control panel — migrations, backups, isolation, real caching and honest scaling — and how to judge it before you commit.

Read the post →

Read the blog →

Still stuck?

Support is included on every plan, the desk is open 24 hours a day, and you can write to us in any of our 59 languages — we answer you in yours.

Contact support All articles