I have a master replication environment, that the master database is using MSSQL and the replication is using MYSQL, and they are both synced with each other. A Laravel application is using the replication. Now what I need is to have a trigger on Mysql (replication) when a record gets updated and it should be sent to Laravel to fire an event.(As stupid as it may sound) I know I can write a procedure for storin the updated record in a table and make the changes later but then I have to check the table on a schedule and it's gonna waste resources. Is it even possible? or are there any other solutions?
↧