Admin DSN | |
The Admin DSN page also contains content authentication settings. See Content Authentication for more information about that
To use the SQL plugin, you must do the following:
Notes
This documentation was originaly based on Tikiwiki 1.7.5 but has been succesfully used for TikiWiki 2.2. |
Usage | |
How to Define a DSN | |
1. On the main Tiki menu, click Admin (if necessary to show the options below this menu item).
2. You'll see the Admin DSN page, shown here: Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
4. In the DSN area, type a valid DSN. See "DSN Syntax," below. 5. Click Save. |
DSN Syntax | |
Copy to clipboard
|
Tutorial | |
Here's how the DSN looks: Copy to clipboard
|
Permissions | |
In older versions of tikiwiki this permission needed to be added manually in the users_permissions table and the following syntax was suggested: Copy to clipboard
It should not be needed in more recent versions (certainly 2.2 and above) but if you do need to add the permission manually consider using the following, which also sets the permission type: Copy to clipboard
For more information
See PluginSQL to learn how to insert SQL queries in Wiki pages. |