create trigger from sql to mysql

I have try to convert sql to mysql. because im watching tutorial on youtube and my database is mysql.

here is my syntax on mysql

CREATE TRIGGER ComputeTotal ON tblcart AFTER INSERT, DELETE, UPDATE on tblcart for EACH row set @total =@price * qty; 

from youtube mysql