Answer by Brent Larsen for C# MySQL timeout issues
I know this thread is ancient, and Mohgeroth was on the right track, but for mysql, the query would look like this...update siteX_discoveryleft join live on live.URL = siteX_discovery.URLset processed...
View ArticleAnswer by Vladislav Vaintroub for C# MySQL timeout issues
If you're annoyed by the exception, then mysqlprocessCmdInsertItem.CommandTimeout=1000;might help (or another big number for timeout). Command timeout 30 seconds default (only time spent in network...
View ArticleAnswer by Sergio for C# MySQL timeout issues
Jonathan Henson answer is a good option +1 to that.If that is still not enough you could try processing it by parts. Imagine you have an ID, you could place your code inside a cicle and process 1000...
View ArticleAnswer by Mohgeroth for C# MySQL timeout issues
Maybe I'm reaching but try this sql..."UPDATE "+ siteString +"_discovery as d "+" SET d.processed = b'0'"+" WHERE d.URL IN (SELECT URL from live where URL = d.URL) ";Rather than evaluate the entire...
View ArticleAnswer by Jonathan Henson for C# MySQL timeout issues
Try indexing the URL column in the table returned by siteString +"_discovery ".Update:Also be aware that the order you specify statements in your where clauses and INNER JOIN s are very important. You...
View ArticleC# MySQL timeout issues
I'm having MySQL timeout issues with a query i'm running. It's a simple query, but even in a MySQL editor it takes 5 minutes or so to complete. I'm hoping you guys might know a better method to fix...
View Article
More Pages to Explore .....