Use supported MySQL server configuration keys

This commit is contained in:
王鹏
2026-10-09 10:27:22 +08:00
parent b73682412f
commit 46ad9270c7
2 changed files with 7 additions and 4 deletions

View File

@@ -153,8 +153,8 @@ def build_mysql_installer_command(installer_path: Path, log_path: Path) -> list[
def build_mysql_server_install_command(console_path: Path) -> list[str]:
server = (
f"server;{MYSQL_VERSION};x64:*:"
"type=config;open_win_firewall=false;tcp_ip=true;port=3306;"
f"root_passwd={MYSQL_INITIAL_ROOT_PASSWORD}"
"type=main;open_win_firewall=false;tcp_ip=true;port=3306;"
f"rootpasswd={MYSQL_INITIAL_ROOT_PASSWORD}"
)
return [
str(console_path),