Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种方法来检查新记录(在 MySQL 表中),而无需每X seconds 或 minutes进行池化。
我发现可以使用MySQL 触发器,但它不能调用外部程序或 PHP 文件?
您可以通过触发器调用外部程序
sys_exec()
看:
http://crazytechthoughts.blogspot.jp/2011/12/call-external-program-from-mysql.html