Now i can insert data to mySql ready. but data will insert to mysql when i Click set data. How to automatic insert by time interval or when data change?

Now i can insert data to mySql ready. but data will insert to mysql when i Click set data. How to automatic insert by time interval or when data change?

How to use "Insert" and config Point details for write new data to Mysql Database?
Now I can use "Update" for update data in Mysql database but I can't use "insert"
Can you recomment me or example for me?

solved
point: For the solutions that you need to change the MySQL settings, you can refer to the following not:
Linux: /etc/my.cnf
Windows: D:\Program Files\mysql\bin\my.ini
commenting out "skip-networking"
If there is a "skip-networking" line in your MySQL config file, make it comment by adding "#" sign at the beginning of that line.
I have some problems. i add sql Datasource and set
driver class name : com.mysql.jdbc.Driver
Connection string : jdbc:mysql://localhost:3306/mt4
*mt4 is database name
and fill Username and password
i try to Statement test. mango show masage :
please Help me?
Sory for my English language. I want to build my page. May be include graphic, gauges or anything for my design. And one I want include datasource table and chart function same example below picture into my page too. Can you recommend me?😅
How to make Data source page same this picture on new page?

it 's work . i am use Pointvalue and put tag to Data point XID. Thank you.
Thank! phildunlap and Jared Wiltshire. i use This command.
http://10.62.41.164:81/snapshot.cgi?user=admin&pwd=888888
Now i can streaming video to http image update every 3 second.
How to show my http image Data points on dashboard?
How to streaming video from IP camera (VSTARCAM C7824WIP) to Mango dashboard.?
Now i can streaming video and can show in same network but Outside the network i can't see video on dashboard.
(now i use remot3.it for remote web server to mango for Outside the network )
Ok Thank 's a lot . It work! move code to Event type -> SystemEvents -> SystemstartUp