How to save data in a database like "MySql"?

have a look at the plugin called Varest it uses JSON requests and does what you are looking for.

Link Here:

I am developing an Online Game but i saved information into a file. My objetive now is to save into a Database. How do we do it?

Is it possible to save information to MySql or I must use a different plataform?
How can I connect to a Database?
Do we must use the HTTP?