AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Can't figure out problem with MySQL and Sourcemod (https://forums.alliedmods.net/showthread.php?t=308160)

jillchang917 06-09-2018 00:39

Can't figure out problem with MySQL and Sourcemod
 
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?

Cooky 06-14-2018 04:16

Re: Can't figure out problem with MySQL and Sourcemod
 
https://www.google.com/search?client...UTF-8&oe=UTF-8


All times are GMT -4. The time now is 14:22.

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