Subject: | DBIx::SearchBuilder::Handle::mysql does not seem to deal with config file specification |
Date: | Wed, 31 Oct 2007 19:59:07 -0700 |
To: | bug-DBIx-SearchBuilder [...] rt.cpan.org |
From: | Chuck Hardin <chardin [...] naming-schemes.org> |
I am working with the DBIx::SearchBuilder version that was distributed
with Red Hat Fedora Core 4. I believe it's version 1.43. I'm also
using perl v5.8.6.
I'm not sure why the following code does not work:
my $shared_handle = DBIx::SearchBuilder::Handle->new();
my $dsn = "dbi:mysql:<db_name>;host=<hostname>;mysql_read_default_file=<config_file>";
my $dbh = DBI->connect($dsn, undef, undef);
$shared_handle->dbh($dbh);
However, it demonstrably does not. I've tried using it from within an
HTML::Mason control component and have gotten nothing but errors.
CCH