-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmy56.cnf
More file actions
76 lines (75 loc) · 2.32 KB
/
my56.cnf
File metadata and controls
76 lines (75 loc) · 2.32 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[client]
port = 3306
socket = MYSQL_DATADIR/mysql.sock
[mysql]
prompt="\u@\h\p \R:\m:\s [\d]> "
[mysqld]
basedir = MYSQL_BASEDIR
datadir = MYSQL_DATADIR
open_files_limit = 61230
server_id = 339901
autocommit = 1
back_log = 128
binlog_cache_size = 2M
binlog_format = row
#character
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
default-storage-engine = InnoDB
expire_logs_days = 7
innodb_buffer_pool_size = 466632K
innodb_data_file_path = ibdata1:20M;ibdata2:50M:autoextend
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit = 1
innodb_flush_method = O_DIRECT
innodb_lock_wait_timeout = 50
innodb_log_buffer_size = 8M
innodb_log_file_size = 256M
innodb_log_files_in_group = 4
innodb_log_group_home_dir = LOGDIR/innodb_log
innodb_max_dirty_pages_pct = 75
innodb_stats_on_metadata = OFF
interactive_timeout = 86400
key_buffer_size = 32M
log-bin = LOGDIR/bin_log/mysql-bin
log_error=LOGDIR/mysql.err
long_query_time = 1
lower_case_table_names = 1
max_allowed_packet = 32M
max_connect_errors = 1000000000
max_connections = 1024
max_user_connections = 0
myisam_sort_buffer_size = 8M
net_buffer_length = 16K
pid_file = MYSQL_DATADIR/mysql.pid
port = 3306
query_cache_size = 0
query_cache_type = 0
read_buffer_size = 128K
read_rnd_buffer_size = 256K
relay-log = LOGDIR/relay_log/relay-bin
#read-only=1
#gtid_mode = on
#enforce_gtid_consistency = 1
#log_slave_updates
skip-external-locking
skip-name-resolve
slave_load_tmpdir = TMPDIR
slow-query-log
slow_query_log_file = LOGDIR/slow_queries.log
slow_launch_time = 1
socket = MYSQL_DATADIR/mysql.sock
sort_buffer_size = 2M
sync_binlog = 1
#sync_relay_log = 1
relay-log-info-repository = TABLE
master-info-repository = TABLE
table_open_cache = 1024
tmpdir = TMPDIR
thread_cache_size = 1024
wait_timeout = 86400
explicit_defaults_for_timestamp=true
[mysql]
no-auto-rehash
default-character-set = utf8mb4