mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2024-11-27 05:33:10 +08:00
添加本地启动mysql配置
This commit is contained in:
parent
14039cb23a
commit
fdf528642c
18
install/docker/docker-add-file/mysqld.cnf
Normal file
18
install/docker/docker-add-file/mysqld.cnf
Normal file
@ -0,0 +1,18 @@
|
||||
[mysqld]
|
||||
skip-name-resolve
|
||||
#log-bin=mysql-bin #添加这一行就ok
|
||||
#binlog-format=ROW #选择row模式
|
||||
#server_id=1 #配置mysql replaction需要定义,不能和canal的slaveId重复
|
||||
pid-file = /var/run/mysqld/mysqld.pid
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
datadir = /var/lib/mysql
|
||||
#log-error = /var/log/mysql/error.log
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
bind-address = 0.0.0.0
|
||||
max_connections = 1000
|
||||
innodb_buffer_pool_size=2G
|
||||
explicit_defaults_for_timestamp = 1
|
||||
character_set_server=utf8
|
||||
init_connect='SET NAMES utf8'
|
||||
skip-grant-tables
|
Loading…
Reference in New Issue
Block a user