- Home /
Can't connect to MySql DB from Flash/Web builds
Hello. I'm making a game that I need to get data from my MySql db.
Everything works fine when I preview the game from Unity client. When I build the project to flash or webplayer, the game cannot connect to the database. Building to Windows also works fine.
I'm using http://wiki.unity3d.com/index.php?title=Server_Side_Highscores as a reference.
Any suggestions?
Comment
I can't remember if this would apply but do you have a crossdomain policy file?
Your answer
![](https://koobas.hobune.stream/wayback/20220613112254im_/https://answers.unity.com/themes/thub/images/avi.jpg)