Quote:
Originally Posted by terminator2k2
hi there wandering if some one can help me.?
ive got a webserver with a mysql data base........ive put the ip addys in there to accept connections from webserver and game server.....
only problem i had was, with remote mysql it wouldnt accept the port of the game server only the ip addy...does this matter.?
instead of say 89.345.234.23:28012 i could only put 89.345.234.23
here is my webserver as it is http://www.mastersofthedead.clan7.nu
im getting errors as i dont have the config file quite right in the plugin config.....
the problem im having is finding out wat the host name is and also the other details to input into database.cfg in sourcemod........
can i find these in cpanel.? ive never used cpanel before so finding it quite hard for now.......
cheers chris
|
Just ip without port is ok. This allows connection through all ports.
I guess the errors are because you haven't created a database.
Go to cPanel
Go to MySql Databases
Create a new database
Near the bottom, if you don't have a user, create a user and password.
Then you need to add user to the database, also at the bottom.
When you click on add, add all permissions to the user/database.
Now you have to add the info in the databases.cfg.
Open the file and add before the last "}"
"l4dstats"
{
"driver" "mysql"
"host" "your database url or ip"
"database" "your database name"
"user" "your database user"
"pass" "your database user password"
//"port" "3306"
}