如何在phpmyadmin中自动更改字段?
CREATE EVENT reset
ON SCHEDULE
EVERY 1 MINUTE
DO
update name_of_table
set name_of_field = 1;
或者我试过了。
CREATE EVENT myevent
ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 SECOND DO
UPDATE locationofdriver
SET coordinate = 1;