Hello!
I am currently needing 2 databases in the database.cfg
But i can't figure out how to add 2
I need one of them for SourceBans
And one for S.A.D:
http://forums.eventscripts.com/viewtopic.php?t=33215
But nomatter how I add the exstra one, I won't work
here's how my database.cfg looks like:
Quote:
"Databases"
{
"driver_default" "mysql"
"sourcebans"
{
"driver" "default"
"host" "xxx"
"database" "xxx"
"user" "xxx"
"pass" "xxx"
//"timeout" "0"
//"port" "0"
}
}
"driver_default" "mysql"
"default"
{
"driver" "default"
"host" "localhost"
"database" "xxx"
"user" "xxx"
"pass" "xxx"
//"timeout" "0"
//"port" "0"
}
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
|
So how would I make it so both the S.A.D database will work and the SourceBans will work - At the same time?
Thanks for your answers!
Kind regards
Niclas - FreakDk