more fixes

This commit is contained in:
Ciro Spaciari
2025-09-26 18:43:10 -07:00
parent c8a6c6bd34
commit 708e2cb3ec
3 changed files with 23 additions and 5 deletions

View File

@@ -95,6 +95,24 @@ services:
retries: 30
start_period: 10s
mysql_plain_9:
image: mysql:9
environment:
MYSQL_ROOT_PASSWORD: "bun123456@#$%^&*()"
MYSQL_DATABASE: bun_sql_test
ports:
- target: 3306
published: 0
protocol: tcp
tmpfs:
- /var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 1h # Effectively disable after startup
timeout: 5s
retries: 30
start_period: 10s
mysql_plain_empty_password:
image: mysql:8.4
environment:

View File

@@ -938,7 +938,8 @@ export async function describeWithContainer(
"mysql_plain": 3306,
"mysql_tls": 3306,
"mysql:8": 3306, // Map mysql:8 to mysql_plain
"mysql:9": 3306, // Map mysql:9 to mysql_native_password
"mysql:9": 3306, // Map mysql:9 to mysql_plain_9
"mysql_native_password": 3306, // mysql_native_password
"redis_plain": 6379,
"redis_unified": 6379,
"minio": 9000,
@@ -952,8 +953,10 @@ export async function describeWithContainer(
if (image === "mysql:8" || image === "mysql:9") {
if (env.MYSQL_ALLOW_EMPTY_PASSWORD === "yes") {
actualService = "mysql_plain_empty_password"; // No password
} else if (image === "mysql:9") {
actualService = "mysql_plain_9";
} else {
actualService = "mysql_plain"; // Default to no password
actualService = "mysql_plain";
}
}

View File

@@ -24,9 +24,6 @@ if (isDockerEnabled()) {
process.arch === "x64" && {
name: "MySQL 9",
image: "mysql:9",
env: {
MYSQL_ROOT_PASSWORD: "bun123456@#$%^&*()",
},
},
].filter(Boolean);