Quote:
Originally Posted by Donski
I don't think it's a connection issue since it seems like it found the database, but could not find the exact tables.
Maybe check the config.php in your Sourcebans install (should be on root folder I believe) and make sure DB_PREFIX is set correctly.
|
It is in the root folder.. The webpage works great and that is what uses the config.php... The problem is in the database.cfg file in the fact that the sourcebans.smx file uses the sourcemod\configs\database.cfg. It is accessing the server but it is trying to open up the wrong file names... For Example
Table name: sb_bans on the SQL Server is being called from sourcebans.smx as sbbans. Note that it is leaving out all the underscores when accessing this...
Excert from my addons\sourcemod\configs\database.cfg
"sourcebans"
{
"driver" "mysql"
"host" "173.12.236.113"
"database" "ins"
"user" "insuser"
"pass" "xxxxxxxx"
"port" "3306"
}