Neid has asked for the wisdom of the Perl Monks concerning the following question:
my $dsn = "DBI:mysql:host=%s;database=%s;mysql_auto_reconnect=1;mysql_ +enable_utf8=1"; my $attr = { RaiseError => 1, AutoCommit => 1, mysql_enable_utf8 => 1, mysql_auto_reconnect => 1 } DBI->connect_cached( $dsn, $user, $pass, $attr)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI and DBD::mysql errors
by kyle (Abbot) on Sep 11, 2008 at 18:14 UTC | |
|
Re: DBI and DBD::mysql errors
by Fletch (Bishop) on Sep 11, 2008 at 17:36 UTC | |
|
Re: DBI and DBD::mysql errors
by perrin (Chancellor) on Sep 11, 2008 at 18:08 UTC |