MySQL Errors when Reading
Thanks for the input. I have since given up on the concept of reading from MySQL and instead are just reading from Textfiles. Its certainly not a limitation of MySQL or capability issue as the system can handle many reads per second. In fact, the system is currently executing a REPLACE statement (not especially efficient either) for EVERY tick for 22 Forex symbols, so you can imagine how many queries are being executed at a time during busy periods. It does that flawlessly (as far as I can tell at least).
Oh well. Reading from a Textfile isn't ideal, but it works. If anyone finds a reliable means to read from MySQL, please add a note as I'd still be interested.
string getDB(string sSQL)
{
string row3[][999];
string sReturn;
int dbConnectId3 = 0;
bool bConnect = init_MySQL(dbConnectId3, DB_URL, DB_USERNAME, DB_PASSWORD, DB_DBNAME, 3306, 0, 0);
int row_result4 = MySQL_FetchArray(dbConnectId3, sSQL, row3);
sReturn = row3[0][0];
deinit_MySQL(dbConnectId3);
return sReturn;
}