This repository was archived by the owner on Jun 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
MySQL Module Installation
David O edited this page Dec 4, 2015
·
8 revisions
The Mysql module stores reports in tables on a MySQL server. This open up many ways to use the report data from external sources like the web scripts. For example, the windows client uses the web scripts to retrieve calls.
- Put the
calladmin_mysql.smx
file into your.../addons/sourcemod/plugins
directory - Open
.../addons/sourcemod/configs/databases.cfg
and add a new entry with the key CallAdmin (You can change this later on) - Load the plugin or change the map, the plugin will create a file named
plugin.calladmin_mysql.cfg
in your.../cfg/sourcemod
folder - Edit the config to your purposes
- Reload the module if you changed the table name.
- Setup the Webscript-Installation
- You're done
Here's an example of how the entry in the databases.cfg
should look like
"CallAdmin"
{
"driver" "default"
"host" "yourhost.com"
"database" "CallAdmin"
"user" "CallAdmin"
"pass" ""
}