Title: SQL Executioner
Author: Justin Watt
Published: <strong>12 Tháng 11, 2012</strong>
Last modified: 28 Tháng 9, 2016

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/sql-executioner.svg)

# SQL Executioner

 Bởi [Justin Watt](https://profiles.wordpress.org/justincwatt/)

[Tải về](https://downloads.wordpress.org/plugin/sql-executioner.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/sql-executioner/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/sql-executioner/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/sql-executioner/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/sql-executioner/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/sql-executioner/)

## Mô tả

Instead of needing a tool like [phpMyAdmin](http://www.phpmyadmin.net/home_page/index.php)

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

## Ảnh màn hình

[⌊This is what you get after describing the posts table.⌉⌊This is what you get after
describing the posts table.⌉[

This is what you get after describing the posts table.

## Cài đặt

Extract the zip file, drop the sql-executioner folder in your wp-content/plugins/
directory, and then activate from the Plugins page.

## Hỏi đáp

  Does this plugin have any undo?

No. It executes SQL queries directly against your database. If in doubt, run a `
SELECT`
 query before attempting an `UPDATE` or `DELETE` query to confirm what you
are about to modify.

  Can I irreparably damage my WordPress database using this plugin?

Yes.

  Do I have to know SQL to use this plugin?

Yes. Other than a basic facility that will `DESCRIBE` each table for you, there

is no GUI (graphical user interface).

## Đánh giá

![](https://secure.gravatar.com/avatar/7c440804c2cf0e5154238823a3ce9938f0d702b6674452eac39be4a09058619a?
s=60&d=retro&r=g)

### 󠀁[Still works for deleting 40,000 pending comments](https://wordpress.org/support/topic/still-works-for-deleting-40000-pending-comments-2/)󠁿

 [neilturn](https://profiles.wordpress.org/neilturn/) 21 Tháng 7, 2021

Haven’t tested more than that, but it still does in 2021. Nice.

![](https://secure.gravatar.com/avatar/17ba809040f8c2de83a79e498316d53a81d3d69cf4a47555ee2d638c7a76745c?
s=60&d=retro&r=g)

### 󠀁[Amazing Tool](https://wordpress.org/support/topic/amazing-tool-77/)󠁿

 [herchen](https://profiles.wordpress.org/herchen/) 31 Tháng 7, 2019

I use this plugin on a daily basis to run quick queries in the database while developing.
Very very helpful!!!

![](https://secure.gravatar.com/avatar/fafc3254a98c69978802fe719d1206bacdbb10c74613b10e934efa4dc5fae631?
s=60&d=retro&r=g)

### 󠀁[Outstanding Plugin!](https://wordpress.org/support/topic/outstanding-plugin-109/)󠁿

 [br3wow](https://profiles.wordpress.org/br3wow/) 9 Tháng 2, 2018

It is a great help!

![](https://secure.gravatar.com/avatar/274d9446613f4173b63232bd444409f35342b601ebbd2c0d86f4431126a389c5?
s=60&d=retro&r=g)

### 󠀁[Simple and efficient](https://wordpress.org/support/topic/simple-and-efficient-8/)󠁿

 [Olar Marius](https://profiles.wordpress.org/olarmarius/) 28 Tháng 9, 2016

This plugin seems to me simple but very useful.

![](https://secure.gravatar.com/avatar/7daa0cc68f1f3017af9ec7e2f1b4de94ecb59c559c24665dbcb4a17b629a0258?
s=60&d=retro&r=g)

### 󠀁[Exactly what I was looking for.](https://wordpress.org/support/topic/exactly-what-i-was-looking-for-239/)󠁿

 [thelonesgroup](https://profiles.wordpress.org/thelonesgroup/) 3 Tháng 9, 2016

Thanks for making this handy tool.

![](https://secure.gravatar.com/avatar/868da8c5dd91d002db5da41a0d8435b5e3a1806e1d49045a79c140e9e6bde574?
s=60&d=retro&r=g)

### 󠀁[Great but needs update](https://wordpress.org/support/topic/great-but-needs-update/)󠁿

 [xpil](https://profiles.wordpress.org/xpil/) 3 Tháng 9, 2016

This is a great general purpose plug-in. Unfortunately it is incompatible with Xenial
Xerxus (or Ubuntu 16.04 LTS if you wish) – I had to remove it via command line as
it was crashing my blog after OS upgrade. Will definitely reinstall once the issue
is fixed.

 [ Đọc tất cả 11 đánh giá ](https://wordpress.org/support/plugin/sql-executioner/reviews/)

## Người đóng góp & Lập trình viên

“SQL Executioner” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Justin Watt ](https://profiles.wordpress.org/justincwatt/)
 *   [ Olar Marius ](https://profiles.wordpress.org/olarmarius/)

[Dịch “SQL Executioner” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/sql-executioner)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/sql-executioner/), check
out [SVN repository](https://plugins.svn.wordpress.org/sql-executioner/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/sql-executioner/)
qua [RSS](https://plugins.trac.wordpress.org/log/sql-executioner/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.4

 * Added CSV export format (hat tip: olarmarius)

#### 1.3

 * Updated to work with PHP 7

#### 1.2

 * Cleaned code up to submit to WP Plugin Repo
 * Wrapped functions in class

#### 1.1

 * Add wp_nonce_field check, minor code cleanup

#### 1.0

 * Initial version

## Meta

 *  Phiên bản **1.4**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **2.000+**
 *  Phiên bản WordPress ** 3.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.6.30**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/sql-executioner/)
 * Thẻ
 * [mysql](https://vi.wordpress.org/plugins/tags/mysql/)[phpMyAdmin](https://vi.wordpress.org/plugins/tags/phpmyadmin/)
   [query](https://vi.wordpress.org/plugins/tags/query/)[sql](https://vi.wordpress.org/plugins/tags/sql/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/sql-executioner/advanced/)

## Đánh giá

 4.6 trên 5 sao.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/sql-executioner/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/sql-executioner/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/sql-executioner/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sql-executioner/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sql-executioner/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sql-executioner/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/sql-executioner/reviews/)

## Những người đóng góp

 *   [ Justin Watt ](https://profiles.wordpress.org/justincwatt/)
 *   [ Olar Marius ](https://profiles.wordpress.org/olarmarius/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/sql-executioner/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://justinsomnia.org/2008/02/the-wordpress-sql-executioner/)