Quote:
Originally Posted by Spirited
You are 100%, completely mistaking ><"
This isn't even remotely like his...
His is 600+ lines more than my system...
|
Now depends, I wrote my wrapper because I hate MySQL syntax errors and how often they appear when you have to write your queries. Using functions to add parameters and so, it's much safer.
Though, the problem isn't really about how you manage your queries when you are dealing with MySQL. The problem is you have to restart your server once a few hours if you are using the .NET wrapper they give you. There is a bug in it.
One connection only can't handle all data and might close because of overloading, and, using the pool, after a few hours, your connections will be unusable. I managed to 'fix' a bit the wrapper(they give the source) and it only gives one errors once a few hours when you want to read data. My server is staying up for 1 day without restart, with at least 25 players every moment(for now only
) up to 90(max yet) and there is no problem with MySQL.
I suggest you use MySQL pooling, and try to fix the problem yourself, to prove you are worthy of having a server. I will not release the dll though.