From e594e4d85491987fd9443a37a0d5c4891997e599 Mon Sep 17 00:00:00 2001 From: huababa1 <2037205722@qq.com> Date: Mon, 25 Aug 2025 19:02:18 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Program.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Applications/Program.cs b/Applications/Program.cs index 845ce70..a349188 100644 --- a/Applications/Program.cs +++ b/Applications/Program.cs @@ -509,17 +509,16 @@ class Program } } - // 关闭临时 MySQL(只关掉端口 48086) - if (proc.ProcessName.Equals("mysqld", StringComparison.OrdinalIgnoreCase)) - { - string cmdLine = GetCommandLine(proc); - if (!string.IsNullOrEmpty(cmdLine) && cmdLine.Contains("--port=48086")) - { - Console.WriteLine($"Closing temporary MySQL (PID: {proc.Id}) on port 48086"); - proc.Kill(); - } - } + // if (proc.ProcessName.Equals("mysqld", StringComparison.OrdinalIgnoreCase)) + // { + // string cmdLine = GetCommandLine(proc); + // if (!string.IsNullOrEmpty(cmdLine) && cmdLine.Contains("--port=48086")) + // { + // Console.WriteLine($"Closing temporary MySQL (PID: {proc.Id}) on port 48086"); + // proc.Kill(); + // } + // } } catch {