Subject: | DBI : compatibility with non standard DSN format |
Hi,
I want to use a SQLite database as log storage.
I try to configure a Log::Handler::Output::DBI object but DBD::SQlite
use a non standard format for the DSN : the "database" attribute is not
understood.
Below a typical DSN for SQLite :
$dbh = DBI->connect("dbi:SQLite:dbname=/path/to/file.sqlite","","");
I think Log::Handler::Output::DBI should be able to configure the
specific DSN for the database.
Quote from DBI specification :
"There is no standard for the text following the driver name. Each
driver is free to use whatever syntax it wants."
regards,
Vincent
* other useful informations :
Perl 5.10.0 (Activestate on Windows 2003)
DBD::Sqlite 1.25
Log::Handler::Output::DBI 0.04