Execute arbitrary SQL queries against your WordPress database from the Admin.
As of April 2026, SQL Executioner is a WordPress DBA plugin with 2.0K+ active installations and a 4.6/5 rating from 11 reviews. It has been downloaded 53K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 9 years ago — may have compatibility concerns. Downloads are up 9% this week.
Instead of needing a tool like phpMyAdmin
or the mysql command line client to view and modify your WordPress database,
the SQL Executioner allows you to run arbitrary SQL queries against your
WordPress database from within the Admin. In many cases this allows you to bypass
the inherent limitations of the WordPress Admin interface, and use the full expressive
power of SQL to analyze and update your blog’s database.
To use simply install and visit the Tools > SQL Executioner page.
If you’re interested in contributing to the code behind this plugin, it’s also hosted on GitHub:
https://github.com/justincwatt/wp-sql-executioner
Haven’t tested more than that, but it still does in 2021. Nice.
I use this plugin on a daily basis to run quick queries in the database while developing. Very very helpful!!!
It is a great help!
This plugin seems to me simple but very useful.
Thanks for making this handy tool.
| WordPress | 3.0+ requiredTested up to 4.6.30 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.