I changed my code to use the .NET Connector instead of how I previously had it with ODBC. But the code was working as expected in my development machine, but not on the site. I did something really silly and it worked, I capitalized the table names on the MySql database. First time I've seen this happen, maybe it's the MySQL version, since it's different in my development computer than here. I don't know, but it seems as the table names are case sensitive. I just changed that on the db and the code worked.
I haven't tried the code as it was, using the ODBC driver. I'll give a try in the next couple of days and I'll keep you posted as to if it's working or not.
Thanks again for all your help. I do appreciate it.