Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

DbiContrib

API for other Contribs and plugins to use to abstract database accesses

Usage

This Contrib is used to abstract database access from other Contribs.

To configure the default database, goto the Extensions::DbiContrib section of configure (near the end). The {DbiContrib}{DBI_dsn} specifies the "DBI DSN" 'dbi' : {the database type} : {the database name} : {the host}. {DbiContrib}{DBI_username} and {DbiContrib}{DBI_password} need to be a database user that has permission to log in from the host Foswiki is running on.

Other Contribs can specify different DBI DSN's and options.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Contrib Info

Contrib Author(s): Copyright 2008-2009, Sven Dowideit, SvenDowideit@fosiki.com
Copyright: ©
License: GPL (Gnu General Public License v3)
Version: 9963 (2010-11-11)
Release: 1.0.2
Change History:  
1.0.2 Padraig Lennon: Foswikitask:Item10000 - Fix release number
1.0.1 (June 2010) added dbDelete as an alias for dbInsert
March 2009: change to be multi-database
Dependencies:
NameVersionDescription
DBI>=1Required.
Contrib Home: Foswiki:Extensions.DbiContrib
Support: Foswiki:Support.DbiContrib

Related Topics: InstalledPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory

Topic attachments
I Attachment Action Size Date Who CommentSorted ascending
DbiContrib.md5md5 DbiContrib.md5 manage 0.1 K 11 Nov 2010 - 11:09 PadraigLennon  
DbiContrib.sha1sha1 DbiContrib.sha1 manage 0.2 K 11 Nov 2010 - 11:09 PadraigLennon  
DbiContrib.tgztgz DbiContrib.tgz manage 4.9 K 11 Nov 2010 - 11:09 PadraigLennon  
DbiContrib.zipzip DbiContrib.zip manage 6.8 K 11 Nov 2010 - 11:09 PadraigLennon  
DbiContrib_installerEXT DbiContrib_installer manage 4.1 K 11 Nov 2010 - 11:09 PadraigLennon  
Topic revision: r5 - 11 Nov 2010, PadraigLennon
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License