mysql_real_query returning error... 1 ?? (1 reply)
(MySQL.com) If I let the mysql connection get stale (no queries for at least an hour or so) I get the 'mysql has gone away' error, of course. So I added some code to reconnect it in this case.
int ret = mysql_real_query( &m_sql, szSQLQueryString, len );
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268]
updated 1268 (MySQL User Forums), inserted 30, updated 0, at 2012-06-02 00:14:56