- Home /
C# and Mysql problem in Windows standalone
hi @all, if i compile my project to a windows standalone application, i'm not able to use my mysql connection. But if i test this in the unity editor, it works. So i don't know how to fix this problem.
I'm using the following imports:
using System.Data; using MySql.Data.MySqlClient;
it would be nice to find someone who have a fix for this problem. Big thanks.
See Ya!
EDIT: i have fixed the problem. Thank anyway. For all others, you have to include the I18N.dll and the I18N.West.dll from the mono framework. =)
Rather than adding your answer as an edit to your question, please add it as a proper answer using the "Your Answer" form. This helps with the general operation of the site; Eg, the question won't show up in the "unanswered questions" list, and others who may be having the same problem will find your answer more easily.
Answer by ikriz · Jun 15, 2010 at 02:00 PM
You have to include the i18N.dll and the I18NWest.dll from the mono framework.
It has also been known to work when adding the System.Data.dll (available on the forums) and download the MySQLDriverCS.dll to your assets.
Note: this will not work for a web player.
where should we put the i18N.dll and the I18NWest.dll to??
Does this work for the $$anonymous$$acOSX version too?
Thanks a lot!
Your answer
Follow this Question
Related Questions
DLL problems for MySql 0 Answers
Query MySQL database from android build 0 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Unity C# MySQL Issues 1 Answer
MySQL.data and Unity 1 Answer