in reply to Re: mySQL Times Out / Disconnects
in thread mySQL Times Out / Disconnects
That missing curly must be a type on this page, but I'm not getting those kind of errors.
I'm not sure what you mean by placeholders...?
My Execute sub is either one of two below, I just thought it would be self explanatory:
sub Execute { if ($_[1] == 1) { $sth = $dbh->prepare( $_[0] ) || &Terminate('Sorry, not Preparing'); $sth->execute || &Terminate('Not Executing'); } else { $dbh->do( $_[0] ) || &Terminate('No Do'); warn( $DBI::errstr ) if ( $DBI::err ); $rc=$dbh->disconnect(); }
I need to compare SSN to make sure there are no typos on either the CSV or DB tables. There are over 16K members and I actually intend to log the errors found.
And Yes, the CSV is definitely all Uppercase (I don't know why).
I used the Delay and Low_Priority when I started giving up and trying other things, unfortunately, I don't see a difference... just left it in since then.
I was considering the Load Data Local Infile things, but realized my limitation when I needed to compare stuff before the Inserting/Updating happens.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: mySQL Times Out / Disconnects
by graff (Chancellor) on Oct 03, 2007 at 13:20 UTC |