[Dbix-class] DBIx::Class vs. dbi:proxy

Marc Espie espie at nerim.net
Fri Dec 15 13:42:16 GMT 2006


I'm trying to use DBIx::Class through dbi:proxy, the idea being that I want
to get to an access database from a unix machine, and that the win32 odbc
connector works just fine.

I've used this setup through DBI proper without any issue, so I know it
works. I've solved the first hurdle, namely I have to tell 
SQL::Abstract::Limit about the type of database handle, since it can't
deduce it itself.

However, now DBIx insists on ping'ing the dbh to make sure it's alive...
and that doesn't work: dbi:proxy refuses to ping the dbh, saying I'm
not authorized (I suspect that DBI passes commands through verbatim,
and that the proxy server doesn't know how to do ping's simply, so it
doesn't bother).

I'm stumped. Any way to tell DBIx::Class to stop caring ?

Otherwise, what's the simplest place to start hacking ?



More information about the Dbix-class mailing list