forked from Monkestation/Monkestation2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbconfig.txt
48 lines (36 loc) · 1.62 KB
/
dbconfig.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## MySQL Connection Configuration
## This is used for stats, feedback gathering,
## administration, and the in game library.
## Should SQL be enabled? Uncomment to enable
#SQL_ENABLED
## Server the MySQL database can be found at.
## Examples: localhost, 200.135.5.43, www.mysqldb.com, etc.
ADDRESS localhost
## MySQL server port (default is 3306).
PORT 3306
## Database for all SQL functions, not just feedback.
FEEDBACK_DATABASE feedback
## Prefix to be added to the name of every table, older databases will require this be set to erro_
## Note, this does not change the table names in the database, you will have to do that yourself.
##IE:
## FEEDBACK_TABLEPREFIX
## FEEDBACK_TABLEPREFIX SS13_
## Remove "SS13_" if you are using the standard schema file.
FEEDBACK_TABLEPREFIX SS13_
## Username/Login used to access the database.
FEEDBACK_LOGIN username
## Password used to access the database.
FEEDBACK_PASSWORD password
## Time in seconds for asynchronous queries to timeout
## Set to 0 for infinite
ASYNC_QUERY_TIMEOUT 10
## Time in seconds for blocking queries to execute before slow query timeout
## Set to 0 for infinite
## Must be less than or equal to ASYNC_QUERY_TIMEOUT
BLOCKING_QUERY_TIMEOUT 5
## The minimum number of sql connections to keep around in the pool. Setting this higher on servers geographically away from the database can improve performance.
POOLING_MIN_SQL_CONNECTIONS 1
## The maximum number of sql connections to the database.
POOLING_MAX_SQL_CONNECTIONS 25
## The maximum number of concurrent asynchronous queries that can be pending a result before we start queuing further database queries.
MAX_CONCURRENT_QUERIES 25