Warning, /pim/akonadi/src/server/storage/mysql-global.conf is written in an unsupported language. File is not indexed.
0001 # 0002 # Global Akonadi MySQL server settings, 0003 # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf 0004 # 0005 # Based on advice by Kris Köhntopp <kris@mysql.com> 0006 # 0007 [mysqld] 0008 0009 # strict query parsing/interpretation 0010 # TODO: make Akonadi work with those settings enabled 0011 # sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat 0012 # sql_mode=strict_trans_tables 0013 0014 # DEBUGGING: 0015 # log all queries, useful for debugging but generates an enormous amount of data 0016 # log=mysql.full 0017 # log queries slower than n seconds, log file name relative to datadir (for debugging only) 0018 # log_slow_queries=mysql.slow 0019 # long_query_time=1 0020 # log queries not using indices, debug only, disable for production use 0021 # log_queries_not_using_indexes=1 0022 # 0023 # measure database size and adjust innodb_buffer_pool_size 0024 # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema"); 0025 0026 # NOTES: 0027 # Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables) 0028 0029 #expire_logs_days=3 0030 0031 #sync_bin_log=0 0032 0033 # Use UTF-8 encoding for tables 0034 character_set_server=utf8 0035 collation_server=utf8_general_ci 0036 0037 # use InnoDB for transactions and better crash recovery 0038 default_storage_engine=innodb 0039 0040 # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M) 0041 # Larger values means less I/O 0042 innodb_buffer_pool_size=128M 0043 0044 # Create a .ibd file for each table (default:0) 0045 innodb_file_per_table=1 0046 0047 # Write out the log buffer to the log file at each commit (default:1) 0048 innodb_flush_log_at_trx_commit=2 0049 0050 # Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin) 0051 # larger values means less I/O 0052 innodb_log_buffer_size=1M 0053 0054 # Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery. 0055 innodb_log_file_size=64M 0056 0057 # # error log file name, relative to datadir (default:hostname.err) 0058 log_error=mysql.err 0059 0060 # print warnings and connection errors (default:1) 0061 loose_log_warnings=2 0062 0063 # Convert table named to lowercase 0064 lower_case_table_names=1 0065 0066 # Maximum size of one packet or any generated/intermediate string. (default:1M) 0067 max_allowed_packet=32M 0068 0069 # Maximum simultaneous connections allowed (default:100) 0070 max_connections=256 0071 0072 # The two options below make no sense with prepared statements and/or transactions 0073 # (make sense when having the same query multiple times) 0074 0075 # Memory allocated for caching query results (default:0 (disabled)) 0076 loose_query_cache_size=0 0077 0078 # Do not cache results (default:1) 0079 loose_query_cache_type=0 0080 0081 # Do not use the privileges mechanisms 0082 skip_grant_tables 0083 0084 # Do not listen for TCP/IP connections at all 0085 skip_networking 0086 0087 # The number of open tables for all threads. (default:64) 0088 table_open_cache=200 0089 0090 # How many threads the server should cache for reuse (default:0) 0091 thread_cache_size=3 0092 0093 # wait 365d before dropping the DB connection (default:8h) 0094 wait_timeout=31536000 0095 0096 # We use InnoDB, so don't let MyISAM eat up memory 0097 key_buffer_size=16K 0098 0099 [client] 0100 default-character-set=utf8