Connect and control mysql from c#?

So I am thinking to make mobile game’s database with mysql for storing IAP items records.

How can I access and control (input/retrieve) data to mysql from unity3d c# script?

Thanks.

This should help you get started in connecting to mysql:

This uses php, I am searching without php and direct from c# and unity mobile build.

Leegod, forgive me being naive but if you don’t use PHP, and have to store the database information in your game client isn’t that very dangerous? From what I understand(limited experience) you should use PHP and www to do this without compromising on security.

This may be of help either way:

http://dev.mysql.com/downloads/connector/net/
http://stackoverflow.com/questions/17029389/accessing-sql-database-using-c-sharp-on-unity