Unity + database = possible?

Hello!

I’m quite new here, so pleese bare with me!

I made a game, which runs on a PC. my commands are comming from a external device, which run on Matlab. So normaly you play a game, you can see a score, lives, time,…

And now I come to the problem. I want to save some data into Database like (username, time when game was played last, and link to some mesurements from Matlab) and all the data is stored on local disk, so there is no need for MySql.

HOW is the simple way to do it, what I need and what I need to do??? PLEESE Help me!

I know that it might be all done with SQLite, but I don’t know how to start or what I need. A read a lot of forums, and I’m just mest up by monoSqlite, Sqlite 3, php???

Thanks! :slight_smile:

I would prefer using www class and a php script on server to actually write the data in database. But that’s because I am a used with php and is very easy to me to do that. Also is my preferred method if the server that holds the database is on another machine than your computer, because mysql can only bind to a single IP.

Why not to use a local xml or even a .txt file and read in at start or on demand at runtime?

I would like to avoid MySql becouse I don’t need any servers to set up, because database is stored on same PC where game is running. I spoke with a friend and he sad that it’s possible to make database even in MySql with local server?