Re: Can MySQL start/fire an external process?
- From: Mark Matthews <mark@xxxxxxxxx>
- Date: Wed, 10 Aug 2005 11:04:33 -0500
J. David Boyd wrote:
> johnfofawn@xxxxxxxxxxx writes:
>
>
>>Thanks for your reply. I don't see how the trigger would help in this
>>case. If my app still has to poll, it could poll the modified table
>>just as easy as it could poll the table that is modified by a trigger.
>>Right?
>>
>>Is there a way to make a trigger fire some sort of external event?
>>
>>Thanks,
>>John
>
>
>
> Look at http://dev.mysql.com/doc/mysql/en/using-triggers.html for the up to
> date info on MySQL triggers. I see no way to call an external event.
>
> Dave
Dave,
You can do pretty much anything you want in a UDF (make a socket call,
run some Java code using jUDF, exec() an external process, etc), which
you can call from a trigger:
http://dev.mysql.com/doc/mysql/en/adding-udf.html
-Mark
--
Mark Matthews
MySQL AB, Software Development Manager - Connectivity
www.mysql.com
.
- Follow-Ups:
- Re: Can MySQL start/fire an external process?
- From: Bill Karwin
- Re: Can MySQL start/fire an external process?
- References:
- Can MySQL start/fire an external process?
- From: johnfofawn
- Re: Can MySQL start/fire an external process?
- From: J. David Boyd
- Re: Can MySQL start/fire an external process?
- From: johnfofawn
- Re: Can MySQL start/fire an external process?
- From: J. David Boyd
- Can MySQL start/fire an external process?
- Prev by Date: ojb (OJB_HL_SEQ doesent exist)
- Next by Date: Re: Can MySQL start/fire an external process?
- Previous by thread: Re: Can MySQL start/fire an external process?
- Next by thread: Re: Can MySQL start/fire an external process?
- Index(es):
Relevant Pages
|
|