Unity + MySQL communication module

Is there anything of this kind?
I am looking for a mysql communication module…

Or could i get some help?
Skype: stephen.arvanitis1

There are actually quite a few examples of how to do that in Unity. Just search for MySql and you will be awash with info. Some show you how to integrate it directly into Unity, others show you how to interface via PHP.

Unfortunately, then you also get the massive list of replies regarding why this is cool and why it is not recommended, why you shouldn’t do it, how you could make it feasible, yet why feasible is not acceptable yet why it is and how to bla bla bla… Then you get the “Look how I modified this” add on code that makes the guy who did the “Here is a working example” go “Oh, yeah, you are right, that wont work. Hack and slash my code to add this here and that there”…

Is there something like that? Yes, tons. Too much from too many people on each separate thread, in my opinion. It all got so confusing that I went and learnt PHP and started with an empty script and did it myself. Turns out if you go the PHP route communicating with MySQL databases is real simple, but it means coding in 2 languages and placing code on two locations, but apart from that, real, real easy.

Either do a search for MySQL on this forum or go to the asset store and get my Simple Online Accounts Kit. Either way will show you how to communicate with MySQL. There truly is a wealth of info on it on this forum.

Hey MrDude, thanks for your help.

How do you suppose, or what could be added onto the Simple Online Accounts Kit? How advanced actually is it? (I know it says simple haha but… you never know ;)…). So yeh, what necessities should be added to the pre-made system? I might actually get it and expand from there. (lazy atm).

No 2 games will be the same. As such, trying to create the single accouns management system that will suit all games, even if you make it super complicated, will never satisfy everyone’s need. As such, I didn’t try to do that, instead, I tried to show who are just as clueless as I was, how to do it.

So I kept it real simple. Some of my customers have called my coding ‘elegant’. I love that :slight_smile: LOL but one customer sent me a mail the other day thanking me again for making it so simple and told me he had already adapted it various uses and THAT was what I had in mi d when I created this! I give you a working system for creating online accounts and doing the login but I do it in a way that makes it easy for anyone to adapt it to suit their particular requirements.

Ah ok, thanks very much. Also, that display picture of yours is really annoying! lol.
Is this system good enough for an Online RPG? I’m just getting into networking and I don’t really have much knowledge.

If your making an mmorpg, then you don’t want to use unity to access mySQL… you want to build a login server, this can be done in any language you like…

If you use one of the 3rd party networking libraries available for Unity, most of them come with login servers intact.