Update MySQL 8.0 to 8.4 LTS, fix Trivy tag count

This commit is contained in:
yeasy
2026-05-02 15:22:58 +00:00
parent 7e3f90b522
commit bf3107b775
9 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ volumes:
```yaml
services:
my_src:
image: mysql:8.0
image: mysql:8.4
volumes:
- mysql_data:/var/lib/mysql
+3 -3
View File
@@ -28,13 +28,13 @@ services:
# 数据库服务
db:
image: mysql:8.0
image: mysql:8.4
container_name: wordpress_db
restart: always
command:
# 使用原生密码认证(旧版 WP 兼容性)
# 用原生密码认证(MySQL 8.4 默认禁用,旧版 WP 兼容性需要
- --default-authentication-plugin=mysql_native_password
- --mysql-native-password=ON
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
environment:
+2 -2
View File
@@ -2,9 +2,9 @@
services:
db:
image: mysql:8.0
image: mysql:8.4
command:
- --default_authentication_plugin=mysql_native_password
- --mysql-native-password=ON
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
volumes: