Unity3D connect MySQL question

Oh, good, very delighted to be here! My English is so limited. please don’t lough at me
I come from China, I am in Hangzhou, Zhejiang Province.
I have a question to ask !
In Unity3d use c# script connect to MYSQL ;When testing ,this no problem.
When build to the web player or windows standalone then can’t connect to mysql.
I used two dll file Mysql.data.dll and system.data.dll
what the problem is!
please every master teach me.

you can not use it in the webplayer at all as it relies on unmanaged dlls.
also it wouldn’t make sense as webplayers run on the enduser system and you really don’t want to make your database access global wildcard.

the same basically holds for your standalone build … but on that end you can at least use it if you want to skip any basic database security reasoning for whatever reason :slight_smile: