Getting this error on map start. "[MySQL] Thread worker was unable to start."
3 servers, all using same plugins
2 of them are getting this error, and the db connection is lagging really badly, from 5 seconds up to 300 seconds. The server that isn't getting the error has the mysql server on the same machine. To tell how laggy the sql connection is, I use
something like this:
Code:
gTime = get_gametime();
SQL_ThreadQuery(gTuple, "sqlTest", "SELECT * FROM empty");
public sqlTest()
{
server_print("%f", get_gametime() - gTime);
}
Plugins used: amxbans (edited to use SQL_ThreadQuery() instead of SQL_Execute)
And a ton of custom plugins I've made
Tried using the mysql module from 1.8.1, 1.8.0, and 1.76d
All the plugins use SQL_ThreadQuery()
EDIT: Solved I think, I wasn't freeing the tuple handle on plugin end. Why is this needed for tuples?
__________________