Raised This Month: $51 Target: $400
 12% 

Can't get hostname for your address


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
President Bacon Nipples
SourceMod Donor
Join Date: Aug 2014
Old 01-15-2015 , 08:05   Can't get hostname for your address
Reply With Quote #1

I have my databases.cfg correctly setup to connect to the MYSQL database and the passwords are correct, plus the server IP is in my CPanel remote connections allowed list so I'm not sure what is wrong.

This is showing in my console...
[sourcebans.smx] Failed to connect to SB db, [1042]: Can't get hostname for your address.
President Bacon Nipples is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 01-15-2015 , 08:41   Re: Can't get hostname for your address
Reply With Quote #2

Post your database.cfg
Rytis is offline
President Bacon Nipples
SourceMod Donor
Join Date: Aug 2014
Old 01-16-2015 , 09:51   Re: Can't get hostname for your address
Reply With Quote #3

"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" ""********"
"database" ""********"
"user" ""********"
"pass" "********"
//"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"
}
}

Last edited by President Bacon Nipples; 01-25-2015 at 18:08.
President Bacon Nipples is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode