problem in dll files or something else ? ,,, plz help (image inside)

hey

i am trying to connect to mySQL DataBase through unity3d , i test the code first from MS visual studio before use it in unity and successfully works ,

in unity i added the system.data and mysql.data.dll but it gotta keep giving me this error :

Unhandled Exception: Mono.CSharp.InternalErrorException: Assets/Scripts/mysql.cs(5,14): mysql —> Mono.CSharp.InternalErrorException: Assets/Scripts/mysql.cs(6,25): mysql.connection —> System.IO.FileNotFoundException: Could not load file or assembly ‘System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies.

I have the same problem…no one answers? anyone help???

Unity doesn’t work with System.Drawing, you’ll need to use Unity’s Rendering system, rather than referencing that library.

thanks Ntero for responding, it is “Unity’s Rendering system”? o.O

By Unity’s Rendering System, I mean using things like UnityEngine.GUI, or UnityEngine.Mesh to display what ever it is that was using System.Drawing in that class.

System.Drawing is not an accessible namespace within Unity, and Unity applications do not support using it.

Ok, thank you very much for your help ^^