TRIGGERS in VITESS -> Distributed MySQL

Viewed 382

I'm trying to create TRIGGERS in vitess.io Database. (Distributed MySQL)

I got the following errors :

CREATE TRIGGER insert_guid BEFORE INSERT ON trx FOR EACH ROW SET NEW.sign = UUID();
MySQL a retourné : vtgate: http:/xxxxxx:15000/: syntax error at position 27 near 'insert_guid'

Any feedback would be much appreciated.

Kind regards, Alex

1 Answers

You can apply these directly to the mysql.

Related