1
0

feat(mysql): update mysql versions to latest releases

- upgrade mysql 8.0.43 to 8.0.44
- upgrade mysql 8.4.6 to 8.4.7
This commit is contained in:
pooneyy
2025-11-02 01:42:23 +08:00
parent 5aa6aab6ec
commit 9a1baf812c
7 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
[mysqld]
skip-host-cache
skip-name-resolve
datadir=/var/lib/mysql
socket=/var/run/mysqld/mysqld.sock
secure-file-priv=/var/lib/mysql-files
user=mysql
log_error_suppression_list='MY-013360'
character_set_server=utf8
lower_case_table_names=1
group_concat_max_len=1024000
log_bin_trust_function_creators=1
pid-file=/var/run/mysqld/mysqld.pid
[client]
socket=/var/run/mysqld/mysqld.sock
!includedir /etc/mysql/conf.d/

View File

@@ -0,0 +1,34 @@
additionalProperties:
formFields:
- default: mysql
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Root Password
labelZh: root用户密码
random: true
required: true
type: password
label:
en: Root Password
ja: ルートパスワード
ms: Kata Laluan Root
pt-br: Senha Root
ru: Пароль Root
ko: 루트 비밀번호
zh-Hant: Root 密碼
zh: Root 密码
- default: 3306
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
label:
en: Port
ja: ポート
ms: Port
pt-br: Porta
ru: Порт
ko: 포트
zh-Hant:
zh: 端口

View File

@@ -0,0 +1,24 @@
services:
mysql:
image: mysql:8.0.44
container_name: ${CONTAINER_NAME}
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3306
volumes:
- ./data/:/var/lib/mysql
- ./conf/my.cnf:/etc/my.cnf
- ./log:/var/log/mysql
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
labels:
createdBy: "Apps"
command:
- --default-authentication-plugin=mysql_native_password
networks:
1panel-network:
external: true