DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:sqlquery

SQL Query Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" unknown

plugin Processing query to MySQL databases and display results as a table

Last updated on
2016-11-25
Provides
Syntax

Tagged with database, mysql, query, sql

Description

Do you want to display data from your MySQL database in DokuWiki? No problem! This simple plugin processing query to MySQL database and displaying results as a table. You also may use it with DataTables Plugin for more usability such as – sorting, searching and etc.

Please donate if you like it.

Syntax

Basic syntax:

<sql>query string</sql>
  • query string – SQL query to perform against the database.

Examples

Perform a simple query to display all records from the table “table”:

<sql>select * from table;</sql>

Using together with DataTables Plugin:

<datatables>
<sql>select * from table;</sql>
</datatables>

Configuration and Settings

The plugin can be configured via the Configuration Manager

Option Description Default value
Host DNS name or IP address of MySQL server localhost
DB MySQL database name (empty)
user MySQL user name (empty)
password MySQL password (empty)

Change Log

  • 2016-11-25
    • Initial release

Discussion, feature requests and bugs

Please e-mail me.

plugin/sqlquery.txt · Last modified: 2017-01-20 08:46 by 88.87.91.3