0

I am trying to set an event in my Mysql database that will run every minute to update a table. This is my code I put to run:

UPDATE credit SET daily ='1000' WHERE Id=1

This is the message I get after I set the event

CREATE DEFINER=`xxx_knxxc`@`localhost` EVENT `zero_column`
ON SCHEDULE EVERY 1 MINUTE STARTS '2018-07-07 14:49:00'
ON COMPLETION NOT PRESERVE ENABLE
DO UPDATE credit SET daily ='1000' WHERE Id=1
Raymond Nijland
  • 11,488
  • 2
  • 22
  • 34
LoveDroid
  • 75
  • 1
  • 10

0 Answers0