Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(jeffa) 2Re: Secure ways to use DBI?

by jeffa (Bishop)
on Apr 17, 2003 at 02:54 UTC ( #251114=note: print w/replies, xml ) Need Help??


in reply to Re: Secure ways to use DBI?
in thread Secure ways to use DBI?

And while we are on the subject, here is the corresponding code to use that config file:
my $dbh = DBI->connect( 'DBI:mysql:database:host:mysql_read_default_file=~/.my.cnf', undef,undef, {RaiseError=>1} );
Big thanks to gmax for introducing me to the MySQL config file (and that code) a while back. :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://251114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-01-16 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?