Raised This Month: $130 Target: $400
 32% 

Database Connection


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

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
JandyCZ is offline
arne1288
SourceMod Moderator
Join Date: Apr 2012
Old 05-11-2018 , 08: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 "127.0.0.1"
__________________
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]
arne1288 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 05:24.


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