A dokuwiki plugin for processing query to MySQL databases and display results as a table.
Go to file
Thomas Hooge 399e977b82 Some cleanup and text improvements 2023-12-01 11:39:55 +01:00
conf Allow connection to different database backends, for now mysql and dblib 2018-12-12 12:14:54 +01:00
lang Some cleanup and text improvements 2023-12-01 11:39:55 +01:00
.gitignore Some cleanup and text improvements 2023-12-01 11:39:55 +01:00
LICENSE Changed wrong license file to correct GPLv2 one 2019-01-24 12:10:48 +01:00
README Some cleanup and text improvements 2023-12-01 11:39:55 +01:00
plugin.info.txt Some cleanup and text improvements 2023-12-01 11:39:55 +01:00
syntax.php Some cleanup and text improvements 2023-12-01 11:39:55 +01:00

README

sqlquery Plugin for DokuWiki

Processing queries to databases and display results as a table.

This is a improved version which can connect to different hosts
and databases. The defaults are set in the plugin configuration.
Different types, hosts and databases can be set inside the tag:

    <sql type=mysql host=myhost db=mydb>
    SELECT foo FROM bar ORDER BY baz
    <sql>

For security reasons the credentials for database access are only
stored in the main plugin configuration. At the moment there is
only one user configurable so for access to multiple servers.
So the user and password mast be the same across the servers.

Based on sqlquery-plugin from George Pirogov, original documentation
for that base plugin can be found at 
https://www.dokuwiki.org/plugin:sqlquery

If you install this plugin manually, make sure it is installed in
lib/plugins/sqlquery/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info
on how to install plugins in DokuWiki.

----
Copyright (C) Thomas Hooge <thomas@hoogi.de>
Copyright (C) George Pirogov <i1557@yandex.ru>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the COPYING file in your DokuWiki folder for details