I have just started using C# and do not know much about it. I am using the 3d game engine called Unity and trying to write a c# script to access the MySQL database that I am
A late answer, but maybe this will help others.
I can actually access my server side sql database on my non-game Unity app. In my case, my app controls whether the user serial number true or not. After users entered their serial key my app starts to compare the serial numbers on sql database. You can use this Server Side Highscores Tutorial for your start point. I did the same. Follow these steps then you should be able to acces your sql database on Unity.