View Single Post
Author Message
mosulik
New Member
Join Date: Feb 2013
Old 01-30-2020 , 06:12   Sourcebans error - connection to DB
Reply With Quote #1

Hello,

I am trying to get sourcebans working on my csgo server, but I have an error regarding the connection to the mysql host.
More exactly, i get this error :

Quote:
Errors:
sbpp_checker.smx (SourceBans++: Bans Checker): Failed to connect to SourceBans DB, [1045]: Access denied for user 'bskro_sbans'@'ip119.ip-51-89-88.eu' (using password: YES)
The ip that it tries to connect to, is the localhost ip where my server is running.
The database configuration I used :

Quote:
"sourcebans"
{
"driver" "mysql"
"host" "176.223.x.x"
"database" "bskro_sbans"
"user" "bskro_sbans"
"pass" "password"
//"timeout" "0"
"port" "3306"
}
The Mysql host is on another server where the webhost is active.

I can't find any solution to the fact that my server tries to connect to the localhost, instead of the ip that I've set for the database connection.

Can anyone help me ?

Regards,
Andrei
mosulik is offline