MySql compiler error help~ (OSX)

Hi guys,

I’m trying to setup mysql database access via c# on OSX, and thus far getting stuck on compiler errors.
Files I’ve added thus far to my project folder are:

  • MySql.Data.dll
  • System.Drawing.dll
  • I18N.dll
  • I18N.West.dll

The compiler error (first few lines):
Unhandled Exception: System.TypeLoadException: Could not load type ‘System.Threading.Tasks.Task`1’ from assembly ‘mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’.

I’m new to databases, so with regards to the mysql connector, i downloaded the zip, and just grabbed the MySql.Data.dll file and placed it into my project folder. couldn’t figure out what to do with all the rest of the files…

Any help would be greatly appreciated!! Thanks!!

Update: decided to go with accessing the database via the php layer instead. (supposed to be safer for security reasons, and well… i couldn’t figure out how to get past the compiler errors lol…)
here’s a good reference:
http://wiki.unity3d.com/index.php?title=Server_Side_Highscores