search

Home  >  Q&A  >  body text

How can I execute a script in mysql?

Database entry image I have a database (example of records in the database are below) and I need to make sure that people with status = notverified are deleted from the database after 30 seconds, how to do this

I want to achieve all this by assigning the Sql query used, but I don't like this idea because there is no such button on the website and it needs to be pressed frequently to work properly

P粉658954914P粉658954914516 days ago544

reply all(1)I'll reply

  • P粉087951442

    P粉0879514422023-09-14 10:20:17

    You can use chronjob in mysql to do this. (If it's mysql, here's a link: https://dev.mysql.com/doc/refman/ 5.7/en/create-event.html )

    reply
    0
  • Cancelreply