Extension:Asksql

Asksql extension allows you to do SQL queries through in the wiki, without opening phpMyAdmin etc.

Dangerous if not configured properly!

Configuration

 * Set to allow sysop queries (set to  by default).
 * The password for $wgDBsqluser.
 * The SQL user used for queries.