Skip navigation links

MySQL Forums :: Triggers :: How to backup Triggers


Advanced Search

Re: How to backup Triggers
Posted by: Paul McArdle ()
Date: June 29, 2005 12:27AM

cat /var/lib/mysql/test/*.TRG > triggers.txt --- gets triggers from test db in /var/lib/mysql
cat triggers.txt
TYPE=TRIGGERS
triggers='create trigger a_bfu before update on a FOR EACH ROW\nbegin\nif new.a <> OLD.a THEN\nset NEW.b = \'c\';\nend if;\nend'
TYPE=TRIGGERS
triggers='create trigger houses_afi after insert on houses for each row insert into fund values( new.id, new.id, new.id, new.id)'

is all we got now.

Options: ReplyQuote


Subject Views Written By Posted
How to backup Triggers 11996 Lyan 05/02/2005 05:15PM
Re: How to backup Triggers 5289 Lyan 05/02/2005 06:00PM
Re: How to backup Triggers 4894 Guilhem Bichot 05/07/2005 03:54AM
Re: How to backup Triggers 4255 Paul McArdle 06/29/2005 12:27AM
Re: How to backup Triggers 3555 Guilhem Bichot 06/29/2005 12:38PM
Re: How to backup Triggers 3366 StuFF mc 08/01/2005 06:26AM
Re: How to backup Triggers 4265 Jonathan Stephens 08/01/2005 09:33AM
Re: How to backup Triggers 3404 StuFF mc 08/02/2005 03:20AM
Re: How to backup Triggers 3097 Andrew Gilfrin 08/02/2005 03:40AM
Re: How to backup Triggers 3108 Markus Popp 08/03/2005 01:50PM


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.