Mysql: Establish a default timeout
This commit is contained in:
@ -1,19 +1,22 @@
|
||||
; Configuration file for AMX Mod X
|
||||
amxx_logs addons/amxmodx/logs
|
||||
amxx_configsdir addons/amxmodx/configs
|
||||
amxx_datadir addons/amxmodx/data
|
||||
amxx_modules addons/amxmodx/configs/modules.ini
|
||||
amxx_plugins addons/amxmodx/configs/plugins.ini
|
||||
amxx_pluginsdir addons/amxmodx/plugins
|
||||
amxx_modulesdir addons/amxmodx/modules
|
||||
amxx_vault addons/amxmodx/data/vault.ini
|
||||
amxx_logs addons/amxmodx/logs
|
||||
amxx_configsdir addons/amxmodx/configs
|
||||
amxx_datadir addons/amxmodx/data
|
||||
amxx_modules addons/amxmodx/configs/modules.ini
|
||||
amxx_plugins addons/amxmodx/configs/plugins.ini
|
||||
amxx_pluginsdir addons/amxmodx/plugins
|
||||
amxx_modulesdir addons/amxmodx/modules
|
||||
amxx_vault addons/amxmodx/data/vault.ini
|
||||
|
||||
; Logging mode
|
||||
; 0 - no logging
|
||||
; 1 - one logfile / day
|
||||
; 2 - one logfile / map
|
||||
; 3 - HL Logs
|
||||
amxx_logging 1
|
||||
amxx_logging 1
|
||||
|
||||
; MySQL default timeout
|
||||
mysql_timeout 60
|
||||
|
||||
; Binary logging level
|
||||
; add these up to get what you want
|
||||
@ -24,10 +27,10 @@ amxx_logging 1
|
||||
; 8 - log all native params
|
||||
; 16 - log internal function calls (only in debug mode)
|
||||
; 32 - log line number accesses (only in debug mode)
|
||||
bin_logging 49
|
||||
bin_logging 49
|
||||
|
||||
; Maximum binary log size, in megs
|
||||
max_binlog_size 20
|
||||
max_binlog_size 20
|
||||
|
||||
; Plugin optimization flags - add these up to get what you want
|
||||
; lowering these may stop crashes on very old CPUs
|
||||
@ -36,4 +39,4 @@ max_binlog_size 20
|
||||
; 1 - float arithmetic
|
||||
; 2 - float comparisons
|
||||
; 4 - float rounding
|
||||
optimizer 7
|
||||
optimizer 7
|
||||
|
@ -6,9 +6,10 @@
|
||||
|
||||
// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.
|
||||
|
||||
amx_sql_host "127.0.0.1"
|
||||
amx_sql_user "root"
|
||||
amx_sql_pass ""
|
||||
amx_sql_db "amx"
|
||||
amx_sql_table "admins"
|
||||
amx_sql_type "mysql"
|
||||
amx_sql_host "127.0.0.1"
|
||||
amx_sql_user "root"
|
||||
amx_sql_pass ""
|
||||
amx_sql_db "amx"
|
||||
amx_sql_table "admins"
|
||||
amx_sql_type "mysql"
|
||||
amx_sql_timeout "60"
|
Reference in New Issue
Block a user