I've got a webserver running quite standard Apache/php/MySQL and want to connect to this MySQL database from a desktop application written in c#/wpf.
First, how can I connect? Do I need some special SQLConnection library?
Second, how safe is this? Anything special I need think about for security since the database is in the web and not local?