Skip to content

Commit

Permalink
Update mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
v5tech committed Jan 20, 2023
1 parent 055ce6c commit 6ffffc0
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 44 deletions.
2 changes: 1 addition & 1 deletion doris/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- ./data/fe:/opt/doris/fe/doris-meta
- ./logs/fe:/opt/doris/fe/log
- ./conf/fe.conf:/opt/doris/fe/conf/fe.conf
- ./bin:/docker-entrypoint-initdb.d/
- ./bin:/docker-entrypoint-initdb.d
networks:
- doris-network
ports:
Expand Down
4 changes: 0 additions & 4 deletions kettle/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions kettle/conf/.kettle/repositories.xml

This file was deleted.

Empty file removed kettle/data/kettle/.gitkeep
Empty file.
18 changes: 0 additions & 18 deletions kettle/docker-compose.yml

This file was deleted.

6 changes: 4 additions & 2 deletions mysql/conf/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
datadir=/var/lib/mysql

default-storage-engine=INNODB
character-set-server=utf8mb4
character_set_server=utf8mb4
collation-server=utf8mb4_unicode_ci
lower_case_table_names=1
table_open_cache=128
Expand All @@ -18,13 +18,15 @@ innodb_flush_log_at_trx_commit=0
sync_binlog=0
group_concat_max_len=1024000

sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

skip-name-resolve

[client]
default-character-set=utf8mb4

[mysql]
default-character-set=utf8mb4

[mysql.server]
default-character-set=utf8mb4
3 changes: 2 additions & 1 deletion mysql/conf/mysql.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
MYSQL_USER=root
MYSQL_USER=dataease
MYSQL_PASSWORD=dataease
MYSQL_ROOT_PASSWORD=Password123@mysql
TZ=Asia/Shanghai
11 changes: 5 additions & 6 deletions mysql/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,22 @@ services:
mysql:
image: registry.cn-qingdao.aliyuncs.com/dataease/mysql:5.7.39
container_name: mysql
restart: unless-stopped
privileged: true
ports:
- 3306:3306
environment:
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: Password123@mysql
TZ: Asia/Shanghai
env_file:
- ./conf/mysql.env
command:
--character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
--max_connections=3000
--wait_timeout=31536000
--interactive_timeout=31536000
--max_connections=3000
--default-authentication-plugin=mysql_native_password
volumes:
- ./conf/my.cnf:/etc/mysql/conf.d/my.cnf
- ./bin:/docker-entrypoint-initdb.d/
- ./bin:/docker-entrypoint-initdb.d
- ./data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-uroot", "-pPassword123@mysql"]
Expand Down

0 comments on commit 6ffffc0

Please sign in to comment.