How can I create a database with a Photon Network Server?

I’ve been reading about Photon Networking in Unity recently and so far it appears to be a good package to use, but I was wondering whether a server-side database would be possible to create? I’d need a database to store account information such as a player’s stats, money, anything that would be saved during login sessions. I heard that it is impossible to do such a thing with Photon but I remain unsure. Could anyone help with this? I’ve never handled a database before with any language, but I know how they work and it shouldn’t be too hard to implement.

Thanks.

You’d need to do some homework. I know in Unity, you can have a script communicate with a php script online in order to change values in an sql database. Check out Unity Serverside Highscores Tutorial for help learning this part. For that, I believe you need the Unity Wiki MD5 class. You would look at the WWW class to communicate with php scripts in this way. In order to run your standalone server with photon, you need to have a look at the Photon Server Reference. Hope this helps you get started.