client->Execute("INSERT INTO FUNCTION remote('"+remote_db_host+"',"+remote_db_name+","+table+",'"+remote_db_user+"','"+remote_db_pass+"',rand()) SELECT * from "+db_name+"."+table);
client->Execute("TRUNCATE TABLE " + table);
On second loop I get
"closed: Operation timed out"
Hello! When i do loop with two queries
client->Execute("INSERT INTO FUNCTION remote('"+remote_db_host+"',"+remote_db_name+","+table+",'"+remote_db_user+"','"+remote_db_pass+"',rand()) SELECT * from "+db_name+"."+table); client->Execute("TRUNCATE TABLE " + table);
On second loop I get "closed: Operation timed out"
Can you please help me to solve it?