28 lines
761 B
INI
28 lines
761 B
INI
[mysqld]
|
|
innodb_file_per_table=1
|
|
skip-name-resolve
|
|
|
|
innodb_buffer_pool_size=%%getMemoryPercentage(%%getVar('dbInnoDBBufferPoolPercentage', 10))
|
|
max_connections=%%dbMaxConnections
|
|
thread_cache_size=%%dbThreadCacheSize
|
|
|
|
%if %%dbCacheQueryEnable == 'oui'
|
|
query_cache_type = 1
|
|
query_cache_limit = %%getVar('dbQueryCacheLimit')
|
|
query_cache_min_res_unit = %%getVar('dbQueryCacheMinRestUnit')
|
|
query_cache_size = %%getVar('dbQueryCacheSize')
|
|
%end if
|
|
|
|
tmp_table_size = %%dbTmpTableSize
|
|
max_heap_table_size = %%dbTmpTableSize
|
|
max_allowed_packet = %%{dbMaxAllowedPacket}M
|
|
|
|
%if %%dbEnableSlowQueryLogs == "oui"
|
|
slow-query-log = 1
|
|
slow-query-log-file = %%getVar('dbSlowQueryLogFile')
|
|
long_query_time = %%getVar('dbSlowQueryLogTime')
|
|
%end if
|
|
|
|
wait_timeout = %%dbWaitTimeout
|
|
|