DOKK / manpages / debian 11 / mtpolicyd / Mail::MtPolicyd::Connection::Sql.3pm.en
Mail::MtPolicyd::Connection::Sql(3pm) User Contributed Perl Documentation Mail::MtPolicyd::Connection::Sql(3pm)

Mail::MtPolicyd::Connection::Sql - Connection pool sql connection object

version 2.04

  <Connection db>
    module = "Sql"
    # see perldoc DBI for syntax of dsn connection string
    dsn = "dbi:SQLite:dbname=/var/lib/mtpolicyd/mtpolicyd.sqlite"
    # user = "mtpolicyd"
    # user = "secret"
  </Connection>

A perl DBI connection string.

Examples:

  dbi:SQLite:dbname=/var/lib/mtpolicyd/mtpolicyd.sqlite
  dbi:SQLite::memory:
  DBI:mysql:database=test;host=localhost
    

see DBI

A username if required for connection.
A password if required for user/connection.

Markus Benning <ich@markusbenning.de>

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

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991
2020-06-03 perl v5.30.2