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 {