[rt-users] Modifying DBIx::SearchBuilder

Mike Friedman mikef at ack.berkeley.edu
Tue Apr 17 16:15:50 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It looks like I may have to modify DBIx::SearchBuilder, in particular 
'Handle.pm'.  This is in order to access my RT mysql database via SSL.

It seems that the only way to get perl DBD::mysql to use SSL may be to 
provide a hashref in the connect call, something like this:

    DBI->connect($dsn, $user, $pass,
       {
         mysql_read_default_file => "fully/qualified/path/to/my.cnf"
       }
       );

in order to tell DBD::mysql to use a my.cnf file that contains the path to 
my CA certificate for the mysql server.

Can I create a modified DBIx::Searchbuilder in my RT 'local/lib', just as 
if I were modifying an RT 'lib' module, even though DBIx::Searchbuilder is 
installed in 'site_perl' and not in the RT tree?

Thanks.

Mike

_________________________________________________________________________
Mike Friedman                        Information Services & Technology
mikef at ack.Berkeley.EDU               2484 Shattuck Avenue
1-510-642-1410                       University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://ist.berkeley.edu
_________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBRiUq+a0bf1iNr4mCEQK4VQCeP00oHUkBLJO+dTbHWaSoRSgsZoMAn1zT
YV1Nr96gSjvyGHjnlP2LLD0O
=VJ1l
-----END PGP SIGNATURE-----



More information about the rt-users mailing list