I'm having trouble with a DBI script that has worked for years and years and now that I've transferred it to a new ISP--is dying whenever it gets to an INSERT INTO TABLE sql statement. This is kind of bizarre, because the script also contains a SELECT FROM sql statement that executes just fine. (So this isn't a chmod, or connection string problem)
While I'm pretty sure this is a dbase permissions issue with my ISP (who insists that it isn't) I just wanted to check to make certain that there wasn't some new change in the DBI module that would make code like the following die:
$mysql = "INSERT INTO TABLE database.table (field1,field2) values ('value1','value2')";
$dbh->do($mysql)
or die "cannot do: " . $dbh->errstr();
And yes, I have a connection string that connects, and the name of the database and table are correct.
While I'm pretty sure this is a dbase permissions issue with my ISP (who insists that it isn't) I just wanted to check to make certain that there wasn't some new change in the DBI module that would make code like the following die:
$mysql = "INSERT INTO TABLE database.table (field1,field2) values ('value1','value2')";
$dbh->do($mysql)
or die "cannot do: " . $dbh->errstr();
And yes, I have a connection string that connects, and the name of the database and table are correct.