View Single Post
Crotan
Junior Member
Join Date: Aug 2010
Old 04-01-2011 , 13:09   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1272

Quote:
Originally Posted by muukis View Post
There are two different configurations for MySQL logins:
  1. Login for the stats DB
  2. Login for the ip2country DB
You might want to have the ip2country DB to locate in a totally separate place. They can point to the same DB, however. I thing in that case you could leave the latter unmodified, not sure. Check the config.php that these values are correct.

Depending on your system configuration, you might want to Google the solution for creating a connection from your game server (MySQL client) and your MySQL server.
I use the same database for stats and ip2country, so they are one in the same for my setup.

So I have no information filled in for ip2country config section:
Code:
// MySQL information for IP to Country DB
// Fill this information only if a separate database is used
$mysql_ip2c_server = "";
$mysql_ip2c_db = "";
$mysql_ip2c_user = "";
$mysql_ip2c_password = "";
$mysql_ip2c_tableprefix = "";
my setup had been working fine for awhile now, but our web server actually just came under attack and we've been loosing connections to our MySQL databases, though what ever our host did to mitigate it, my sourcebans and left4dead stats databases are now denying the users, think it's a problem with my host now after working through tickets with them.

Thanks for the help though.
Crotan is offline