Update mysql message

This commit is contained in:
sunkaixuan
2022-12-17 10:55:57 +08:00
parent 96fd23a1ee
commit 962bab55cf
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ namespace SqlSugar
else if (ex.Message == "Loading local data is disabled; this must be enabled on both the client and server sides")
{
this.Context.Ado.ExecuteCommand("SET GLOBAL local_infile=1");
Check.ExceptionEasy(ex.Message, " 检测到你没有开启文件,已自动执行 SET GLOBAL local_infile=1 在试一次");
Check.ExceptionEasy(ex.Message, " 检测到你没有开启文件,AllowLoadLocalInfile=true加到自符串上已自动执行 SET GLOBAL local_infile=1 在试一次");
}
else
{