AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Database Connection (https://forums.alliedmods.net/showthread.php?t=307464)

JandyCZ 05-11-2018 07:57

Database Connection
 
Helo,
I have a problem with sourcebans plugin can't connect to the mySQL. I am using the newest MariaDB. Everything can connect, like webapp, I can connect through client in my PC, or on the server itself, but th sourcebans can't connect.
Error log:
Code:

L 05/11/2018 - 11:41:21: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20

DarkDeviL 05-11-2018 08:55

Re: Database Connection
 
It sounds like you are running MariaDB on the same physical machine, as the game server with the plugin that causes issues, -

If this is correct, try switching IP in databases.cfg to "127.0.0.1"


All times are GMT -4. The time now is 16:49.

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