MySQL triggers to c++

Hello everybody,

I want to do a program that is waiting for a new row written into mysql table but the problem is I don't know a way that my program gets or knows that there is a new line into a mysql table. Does anybody know about this? I know how to use c++ in order to get information from mysql but I don't want to connect every second to see if there is a new row.

I also need my program to be alive or running at all time so what do you advice me to do in this case? I mean, maybe use pipes or thread for passing or saying that mysql has new information to my program...well I just know a little idea about pipes and threads..so any advice??

Thank you very much for your help.

Billy

Topic archived. No new replies allowed.