View Single Post
MrBrightSide
Member
Join Date: Jun 2011
Old 06-25-2012 , 19:36   Re: [CS:S] CT Bans
Reply With Quote #65

Code:
 "Databases"
{
	"driver_default"		"mysql"
	
	"default"
	{
		"driver"				"default"
		"host"				"localhost"
		"database"				"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"				"0"
	}

	"sourcebans"
	{
		"driver"				"mysql"
		"host"				"localhost"
		"database"				"casualelite_sourcebans"
		"user"				"xxxxxx"
		"pass"				"xxxx"
		//"timeout"			"0"
		"port"				"3306"
	}	

	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
}
Also for your host name, you can only put localhost if the database and the server are running off the same ip, if it isnt you need to put the database ip were localhost is for source bans, localhost stays the same for clientprefs, storage-local, and default. if you need any more help with soucebans go here http://www.sourcebans.net/

Last edited by MrBrightSide; 06-25-2012 at 19:37.
MrBrightSide is offline