View Single Post
juss
Senior Member
Join Date: Jan 2016
Old 01-11-2016 , 01:47   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #31

sigh.. root has full access and pass are set .. so the plugin reads data from databases.cfg to access DB .. i made changes in databases.cfg and it looks like this:

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"SimpleRanks"
{
"driver" "default"
"host" "127.0.0.1" //i have tried localhost as well
"database" "steam"
"user" "root"
"pass" "and i put my pass here"
}


"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"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"
}
}

could it be a problem here that it reads .. not the SimpleRanks config but default one? .. yet should it still say that plugin failed to load ? .. and maybe you can throw some suggestions on what is the proper way to show that my mysql.sock is not in tmp , but in /var/run/mysqld/mysqld.sock

thanks a lot! <3

Last edited by juss; 01-11-2016 at 01:49.
juss is offline