NAME

Auth::Kokolores::Plugin::SqlConnection - kokolores plugin to configure a SQL connection

VERSION

version 1.01

DESCRIPTION

This plugin creates a connection to an SQL database for use by further SQL plugins.

EXAMPLE

<Plugin database>
  module = "SqlConnection"
  dsn = "dbi:SQLite:dbname=/var/lib/kokolores/users.sqlite"
  # handle = "sql"
</Plugin>

MODULE PARAMETERS

user (default: '')

User used to connect to SQL database.

password (default: '')

Password used to connect to SQL database.

dsn (default: 'dbi:SQLite:dbname=/var/lib/saslauthd/saslauth.sqlite')

A connection string for the database in perl-DBI format.

handle (default: 'sql')

This string is used to register the database connection within the kokolores connection pool.

AUTHOR

Markus Benning <ich@markusbenning.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Markus Benning <ich@markusbenning.de>.

This is free software, licensed under:

The GNU General Public License, Version 2, June 1991