Jeff Pan wrote:
> hi,
>
> Because of network problem,my script can't create Mysql dbh sometime
> when running,then it died.I have written code like this:
>
> my
> $mysql_dbh=DBI->connect("dbi:mysql:$mysql_db:$mysql_host",$mysql_user,$mysql_passwd,
> {PrintError =>
hi,
Because of network problem,my script can't create Mysql dbh sometime
when running,then it died.I have written code like this:
my
$mysql_dbh=DBI->connect("dbi:mysql:$mysql_db:$mysql_host",$mysql_user,$mysql_passwd,
{PrintError => 1,RaiseError => 0});
I want to