MySql On Web ?

Hi …

I’m trying to make my game working online …

On Pc the game connect with the Database (MySql) , and working fine .

but when I change the platform to Web ,it doesn’t work and give me an error on MySql.Data.dll

how can I fix that ???

I have no idea what’s causing your problem, although the cross domain.xml comes to mind, but it’s a moot point anyway because you are doing it wrong.
Do not connect to the SQL database from your game.

Connect to a PHP script using WWWForm, and have the PHP script connect to your SQL database and echo the response.