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

Can't figure out problem with MySQL and Sourcemod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jillchang917
Member
Join Date: Dec 2017
Old 06-09-2018 , 00:39   Can't figure out problem with MySQL and Sourcemod
Reply With Quote #1

Recently, I've been having database connection problems on MySQL with the errors:
Code:
[admin-sql-threaded.smx] Failed to connect to database: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[admin-sql-threaded.smx] Failed to connect to database: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[sbpp_comms.smx] Query_ProcessQueue failed: malformed database schema (?)
I'm not too sure if the malformed database is related to the socket issue. I also couldn't find anything on these errors, at least in terms of sourcemod.

The server is connecting to remote mysql server and my other mysql plugins work fine. I did notice my server hanging on map change (htop shows I have more than enough ram) and it also crashes at times. These plugins are threaded also so it only crashes randomly on map change, but not always, but it definitely hangs before loading map.

Anyone know what the errors are and what may be causing it? Is there any other way I can troubleshoot this issue other than removing the plugins?
jillchang917 is offline
Cooky
Veteran Member
Join Date: Jun 2010
Location: 127.0.0.1
Old 06-14-2018 , 04:16   Re: Can't figure out problem with MySQL and Sourcemod
Reply With Quote #2

https://www.google.com/search?client...UTF-8&oe=UTF-8
Cooky is offline
Reply


Thread Tools
Display Modes

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 09:10.


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