我需要在mysql插入数据或者修改数据的时候能运行php脚本,或者用mysql中某个时间字段去运行php脚本,但是mysql的定时器与触发器貌似都不能操作mysql以外的程序,问用什么方法能实时监控mysql的动作,运行php脚本。
大家讲道理2017-05-16 13:01:31
It seems that the poster means that the MySQL command line interface is working. Then why don’t you connect to MySQL through php and then call the php monitoring script file through php when executing CURD?