in reply to Re: trapping mysql errors
in thread trapping mysql errors

I am unable to replicate the problem in the mysql monitor.

In diagnosing the problem I duplicated the table into a new table and re-ran the program. It now hangs on different ID's. If I delete that ID (and one more it had a problem with) the program runs fine!

I have found that the script is actually having problems reading the last column in my table (only when using the FQDN as the database host, and not when using localhost)! If I select EVERY column by name instead of '*' and omit the last column in the table, the script runs normally.

The column is a varchar(22) and doesn't matter what I alter it to be. What could possibly be happening here? I'd think it points to table corruption, but any checks I run on the table come up fine.