Exposing MySql Events
Posted by: Mr Wakazula
Date: August 31, 2006 09:05AM

Good morning,

Currently, an external application (like a service) must poll a database in order to detect changes (to data, to tables,…). In many ways, this is inefficient. It would be much more useful to construct an event driven model whereby a MySql trigger could raise a Microsoft event inside an application's .Net connector.

I've tried to hack a work around whereby a MySql trigger would terminate (KILL CONNECTION) a specified connection. The hope was that this would intern raise the MySqlConnection.StateChange event. Unfortunately, this was not the case.

I would be interested in anyone's thoughts on this matter.



Edited 2 time(s). Last edit at 08/31/2006 09:07AM by Mr Wakazula.

Options: ReplyQuote


Subject
Written By
Posted
Exposing MySql Events
August 31, 2006 09:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.