43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
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
|