Raised This Month: $51 Target: $400
 12% 

MYSQL Issues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
deathcurse
Senior Member
Join Date: Jun 2006
Location: UK
Old 11-23-2012 , 19:55   MYSQL Issues
Reply With Quote #1

I use a few SM plugins that connect to MySQL databases on a different server and the last day or two I've had trouble with this server, meaning the MySQL databases were sometimes unavailable.

Now what I've noticed is when the databases aren't reachable, when the game server goes to change level they usually timeout/crash. Is this normal behavior or is it a badly designed plugin?

Using MMS 1.10 and SM 1.5

The plugins that use MySQL that I have installed are:

- Sourcebans
- Ads mysql
- Client prefs

Anyone know of any related problems?
__________________
Clan of Doom: www.clanofdoom.co.uk
deathcurse is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-23-2012 , 20:08   Re: MYSQL Issues
Reply With Quote #2

Quote:
Originally Posted by deathcurse View Post
Now what I've noticed is when the databases aren't reachable, when the game server goes to change level they usually timeout/crash. Is this normal behavior or is it a badly designed plugin?
It's a bug, but a known one that's being worked on.
__________________
asherkin is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 11-23-2012 , 22:48   Re: MYSQL Issues
Reply With Quote #3

Quote:
Originally Posted by deathcurse View Post
I use a few SM plugins that connect to MySQL databases on a different server and the last day or two I've had trouble with this server, meaning the MySQL databases were sometimes unavailable.

Now what I've noticed is when the databases aren't reachable, when the game server goes to change level they usually timeout/crash. Is this normal behavior or is it a badly designed plugin?

Using MMS 1.10 and SM 1.5

The plugins that use MySQL that I have installed are:

- Sourcebans
- Ads mysql
- Client prefs

Anyone know of any related problems?
This issue, from what I know, happens with non-threaded approaches, and out of the three that you have listed, ClientPrefs is the only one that I'd imagine it causing this. I would just switch ClientPrefs to SQLite database as it makes little difference (and it would be more convenient for me as a user to be able to set different client options across multiple servers).
__________________
Need help? PM me or add me on Steam.
My Steam




Quote:
Originally Posted by Rp.KryptoNite View Post
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING
minimoney1 is offline
deathcurse
Senior Member
Join Date: Jun 2006
Location: UK
Old 11-24-2012 , 13:41   Re: MYSQL Issues
Reply With Quote #4

I'll try changing clientprefs to sqlite then.

asherkin, can you give any info on if clientprefs is the cause?

Thanks for the replies.
__________________
Clan of Doom: www.clanofdoom.co.uk
deathcurse is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-24-2012 , 15:29  
Reply With Quote #5

It's a root problem in the database API, anything using threaded queries can cause it, I'm on my phone at the moment but can provide a technical explanation later if you want it.

Your time would be better spent fixing your MySQL server to not be unavailable.
__________________
asherkin is offline
deathcurse
Senior Member
Join Date: Jun 2006
Location: UK
Old 11-24-2012 , 18:46   Re: MYSQL Issues
Reply With Quote #6

Ah right, I see.

Yea everything is pretty much sorted with our MySQL server so shouldn't be an issue again.
__________________
Clan of Doom: www.clanofdoom.co.uk
deathcurse is offline
hkkelvin1995
Senior Member
Join Date: Jun 2009
Location: Hong Kong
Old 11-26-2012 , 18:32   Re: MYSQL Issues
Reply With Quote #7

using MM 1.9 would be more stable than using 1.10
It is still a development build:-)
hkkelvin1995 is offline
deathcurse
Senior Member
Join Date: Jun 2006
Location: UK
Old 12-04-2012 , 13:35   Re: MYSQL Issues
Reply With Quote #8

Quote:
Originally Posted by asherkin View Post
It's a root problem in the database API, anything using threaded queries can cause it, I'm on my phone at the moment but can provide a technical explanation later if you want it.

Your time would be better spent fixing your MySQL server to not be unavailable.
I don't suppose you know when this is likely to be fixed?
__________________
Clan of Doom: www.clanofdoom.co.uk
deathcurse is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-04-2012 , 13:44   Re: MYSQL Issues
Reply With Quote #9

When one of the 2 of us have time to basically re-write the MySQL extension (and probably more).
__________________
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode