Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
39421882
Commit
39421882
authored
Apr 01, 2022
by
温海元
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mysql.conf for mysql 5.7
parent
d4f808f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
27 deletions
+49
-27
mysql.cnf
tke/mysql5.7/mysql.cnf
+49
-27
No files found.
tke/mysql5.7/mysql.cnf
View file @
39421882
[mysql]
default-character-set = utf8
[mysqld]
character_set_server=utf8
default-storage-engine = innodb
skip-name-resolve
innodb_autoinc_lock_mode = 2
default-time-zone='+08:00'
show_compatibility_56=on
log_timestamps=SYSTEM
[mysqld]
port = 3306
server_id = 984239105
skip-slave-start
log_bin=mysql-bin
binlog_cache_size = 5M
default-time-zone='+08:00'
table_definition_cache=400
performance_schema_max_table_instances=400
table_open_cache = 256
slow_query_log = 0
log-bin=mysql-bin
binlog-format = ROW
max_binlog_size = 200M
expire_logs_days = 7
explicit_defaults_for_timestamp = true
character_set_server=utf8
skip-name-resolve
max_connect_errors = 100
max_allowed_packet = 256M
connect_timeout = 3600
max_connections = 4000
max_user_connections = 1000
innodb_lock_wait_timeout = 10
slow_query_log = 0
long_query_time = 2
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=2M
default-storage-engine = innodb
innodb_autoinc_lock_mode = 2
table_open_cache = 2000
key_buffer_size = 2M
tmp_table_size = 6M
max_connections = 4000
max_user_connections = 1000
thread_cache_size = 120
query_cache_type = 0
query_cache_size = 0
query_cache_min_res_unit = 1K
query_cache_limit = 0
\ No newline at end of file
ignore-db-dir=lost+found
#show_compatibility_56=on
#log_timestamps=SYSTEM
#log_bin=mysql-bin
#binlog_cache_size = 5M
#innodb_log_buffer_size=2M
#key_buffer_size = 2M
#tmp_table_size = 6M
#thread_cache_size = 120
#query_cache_type = 0
#query_cache_size = 0
#query_cache_min_res_unit = 1K
#query_cache_limit = 0
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment