• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by Toppy · Apr 20, 2010 at 06:50 AM · dllmysql

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. =)

Comment
duck

People who like this

1 Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image duck ♦♦ · Apr 20, 2010 at 09:06 AM 1
Share

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.

avatar image KHopcraft · Apr 22, 2010 at 06:55 PM 0
Share
  • to previous comment!

1 Reply

· Add your reply
  • Sort: 
avatar image

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.

Comment
Case23
Skjalg

People who like this

2 Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image missypooh · Mar 16, 2012 at 05:33 PM 0
Share

where should we put the i18N.dll and the I18NWest.dll to??

avatar image pcace · Jul 05, 2014 at 03:22 PM 0
Share

Does this work for the MacOSX version too?

Thanks a lot!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

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

DLL problems for MySql 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges