Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

is it possible to trigger database change and fire an event in laravel?

$
0
0

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?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>