RE: email notification

2005-05-31 Thread Richard Dale
If you use MyISAM tables you could always do: SHOW TABLE STATUS LIKE 'tablename' Then look at the Update_time column. If that has changed since last time then something has changed. Then implement a php/perl/whatever script around it to email you. Note: On my InnoDB tables this time seems to

RE: email notification

2005-05-31 Thread Berman, Mikhail
Jayson, Are you working with Windows or UNIX versions of MySQL? Mikhail Berman -Original Message- From: Jayson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 9:59 AM To: mysql@lists.mysql.com Subject: email notification I'm looking for a feature in mysql where it will email me i

Re: email notification

2005-05-31 Thread Gary Richardson
I don't think there is an SMTP API built into MySQL. A trigger could insert a record into another table and a crontab could send mails based on the contents of this table.. On 5/31/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > If we get triggers in mysql 5, couldn't you setup something lik

RE: email notification

2005-05-31 Thread jabbott
If we get triggers in mysql 5, couldn't you setup something like this? --ja On Tue, 31 May 2005, Philip Denno wrote: > I doubt you would find this feature in any database. You would have to > implement at the application code level. Basically whenever you insert > into a table have the applicat

RE: email notification

2005-05-31 Thread Philip Denno
I doubt you would find this feature in any database. You would have to implement at the application code level. Basically whenever you insert into a table have the application framework send an e-mail. The log4j package provides this kind of functionality. See http://logging.apache.org/ And lo