View Single Post
Fredd
Veteran Member
Join Date: Jul 2007
Old 04-01-2008 , 16:17   Re: SQL Admins Connect Issue
Reply With Quote #3

as i said, yeah i thought the mysql db was blocking it which is yes on a external server as i said before but i have went to the cpanel and i have added the ip of the server in the 'allowed mysql hosts' list, and over that i have also tried making a simple php script that uses mysql_connect to test things out, if the host is not in the white list it will be blocked if it is it will connect fine.

here is my database.cfg
Code:
"Databases"
{
	"driver_default"		"mysql"
	

	"default"
	{
		"driver"			"default"
		"host"				"i tried the ip and the host name as 'name.com'"
		"database"			"db name"
		"user"				"user name"
		"pass"				"pass"
		//"timeout"			"0"
		"port"				"3306"
	}	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
}
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline