Raised This Month: $165 Target: $400

Database Connection

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Junior Member
Join Date: May 2018
Old 05-11-2018 , 08:57   Database Connection
Reply With Quote #1

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:
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
JandyCZ is offline
SourceMod Moderator
Join Date: Apr 2012
Old 05-11-2018 , 09:55   Re: Database Connection
Reply With Quote #2

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 ""
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline

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

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