Is there any way to create triggers on different databases? my requirement is like:-
database: a1.db consist table: t1 database:a2.db consist table: t2 >
Looks like you need the MySQL equivalent of link servers (MSSQL) or dblink (Oracle). There is something called the FEDERATE storage engine:
Check here