Creating a server

Hello,

I have a question. I’m creating a multiplier game and I want the data to be stored on a server in MySQL database. Is it possible to create a program in Unity that I will run on my server that will communicate with the database:

Client → Server → MySQL Database → Server → Client

I would like to know if there is something like this implemented in Unity and if you could point me in the right direction. If not what is the best way to solve this problem?

Thanks
Zopperfree

Yes of course you can write your server to communicate with a MySQL database.

Assuming you’re programming in C# it’s not like it’s a different language because you’re using Unitys API, it’s still C#.

Ok,

you have solved my problem, it was my first time using Unity but I can use the code from other projects to work with MySQL databases.

Thanks
Zopperfree

Take a look at this for a step by step guide and unity specific considerations. http://nooparmy.com/index.php/products/educational-materials/17-test.html