creating trigger across different databases

后端 未结 3 1988
轮回少年
轮回少年 2021-01-14 21:25

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
         


        
3条回答
  •  攒了一身酷
    2021-01-14 21:39

    Looks like you need the MySQL equivalent of link servers (MSSQL) or dblink (Oracle). There is something called the FEDERATE storage engine:

    Check here

提交回复
热议问题