group Next Big Thing: Register for the Foswiki Camp 2015 now. ... group Annual Foswiki Association meeting: Friday 20th March 2015 at 1300Z


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


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 for more help.

Contrib Info

Contrib Author(s): Copyright 2008-2009, Sven Dowideit,
Copyright: ©
License: GPL (Gnu General Public License v3)
Contrib Version: 3218 (2009-03-20)
Change History:  
March 2009: change to be multi-database
Contrib Home:

Related Topics: System.Contribs, DeveloperDocumentationCategory, AdminDocumentationCategory, %SITEPREFERENCES%

I Attachment Action Size Date Who Comment
DbiContrib.md5md5 DbiContrib.md5 manage 0.1 K 20 Mar 2009 - 07:54 SvenDowideit  
DbiContrib.tgztgz DbiContrib.tgz manage 4.9 K 20 Mar 2009 - 07:53 SvenDowideit  
DbiContrib.zipzip manage 6.7 K 20 Mar 2009 - 07:53 SvenDowideit  
DbiContrib_installerEXT DbiContrib_installer manage 4.4 K 20 Mar 2009 - 07:54 SvenDowideit  
Edit | Attach | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r2 - 20 Mar 2009, SvenDowideit

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License