Re: Can MySQL start/fire an external process?
- From: david@xxxxxxxxxx (J. David Boyd)
- Date: Tue, 09 Aug 2005 17:38:05 GMT
johnfofawn@xxxxxxxxxxx writes:
> Hi,
>
>
> Or, if that won't work. What if I have a process running and connected
> to the database (I would write the program in C or in Java). Is there
> some way to have a callback called any time a new record is added to a
> database?
>
I think I saw that version 5.0 and up have triggers, so you could set a
trigger that would write a value to a table when a record in some other table
is added, then your app could pole that record and see if it indicates that
something has happened.
Sounds like a database based semaphore, no?
Dave in Largo, FL
.
- Follow-Ups:
- Re: 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?
- References:
- Can MySQL start/fire an external process?
- From: johnfofawn
- Can MySQL start/fire an external process?
- Prev by Date: Can MySQL start/fire an external process?
- Next by Date: Re: Can MySQL start/fire an external process?
- Previous by thread: Can MySQL start/fire an external process?
- Next by thread: Re: Can MySQL start/fire an external process?
- Index(es):
Relevant Pages
|
|