Hey guys, receiving an error from my sourcebans plugin (SB++) which is in relation to the SQL I have setup in my web hosting
Generalised Information
- Godaddy Shared Hosting
- IP of game server has been allowed through remote hosts in Cpanel
L 12/30/2016 - 11
9
6: [sourcebans.smx] Database failure: [2005]: Unknown MySQL server host '“166.62.27.61”' (1). See FAQ:
https://sarabveer.github.io/SourceBans-Fork/faq/
IP of my site is 166.62.27.61, domain name is bryyan.com
Main issue is the fact that IP as well as domain name are valid unless I entered it wrong into my databases.cfg which you can find below
Code:
"Databases"
{
"driver_default" "mysql"
// When specifying "host", you may use an IP address, a hostname, or a socket file path
"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"
}
"sourcebans"
{
"driver" "default"
"host" “bryyan.com”
"database" "webcon"
"user" "Can't Show"
"pass" "Can't Show"
//"timeout" "0"
"port" "3306"
}
}
Also, sourcebans is installed on my site and i've added my server IP but it can't seem to connect. I got sourcebans to install on godaddy through locally hosted SQL in the CPanel which is under the same hosting but i can't seem to get the game server to connect to the SQL because it keeps saying unknown host
Anyways, thanks to everyone who read this post. I really appreciate it.
~ <3,
Bryan