in reply to Re^6: perl DBI statement
in thread perl DBI statement
Looks like you are connecting dbh2 and dbh3 to the same database
my $dbh2 = DBI->connect( $from_feed_dsn, $from_feed_user, $from_feed +_pass, { RaiseError => 1, PrintError => 1 }) or die; my $dbh3 = DBI->connect( $from_feed_dsn, $from_feed_user, $from_feed +_pass, {RaiseError => 1, PrintError => 1 }) or die ;
Shouldn't that be
my $dbh3 = DBI->connect( $destination_dsn, $destination_user, $destina +tion_pass, {RaiseError => 1, PrintError => 1 }) or die;
Maybe a copy/paste and forgot to edit error !
poj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: perl DBI statement
by cbtshare (Monk) on Dec 04, 2016 at 23:28 UTC | |
by poj (Abbot) on Dec 05, 2016 at 19:36 UTC |