.Net aot ORM Fastest ORM Simple Easy VB.NET Sqlite orm Oracle ORM Mysql Orm 虚谷数据库 postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping
5.35k
stars
1.34k
forks
source link
MySql连接异常 #1101
Closed
sunyu05 closed 1 year ago
SqlSugar版本:5.0.4.7 MySql版本:8.0.31 连接异常:
SqlSugar.SqlSugarException HResult=0x80131500 Message=中文提示 : 连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:Unable to connect to any of the specified MySQL hosts.. English Message : Connection open error . Unable to connect to any of the specified MySQL hosts. Source=SqlSugar スタック トレース: 場所 SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters) 場所 SqlSugar.AdoProvider.SqlQuery[T,T2,T3,T4,T5,T6,T7](String sql, Object parameters) 場所 SqlSugar.AdoProvider.SqlQuery[T](String sql, SugarParameter[] parameters) 場所 SqlSugar.AdoProvider.SqlQuery[T](String sql, Object parameters) 場所 SqlSugar.DbMaintenanceProvider.<>cDisplayClass44_0b 1(AppModule module)
場所 System.Collections.Generic.Listb0(IApplicationBuilder builder)
場所 Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>cDisplayClass13_0.b 2(IApplicationBuilder app)
場所 Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>cDisplayClass0_0.gMiddlewareFilterBuilder|0(IApplicationBuilder builder)
場所 Microsoft.AspNetCore.HostFilteringStartupFilter.<>cDisplayClass0_0.b 0(IApplicationBuilder app)
場所 Microsoft.WebTools.BrowserLink.Net.HostingStartup.<>cDisplayClass1_0.b0(IApplicationBuilder app)
場所 Microsoft.AspNetCore.Watch.BrowserRefresh.HostingStartup.<>cDisplayClass1_0.b 0(IApplicationBuilder app)
場所 Microsoft.AspNetCore.Hosting.GenericWebHostService.d__31.MoveNext()
1.<GetListOrCache>b__0() 場所 SqlSugar.ReflectionInoCore
1.GetOrCreate(String cacheKey, Func1 create) 場所 SqlSugar.ReflectionInoCacheService.GetOrCreate[V](String cacheKey, Func
1 create, Int32 cacheDurationInSeconds) 場所 SqlSugar.DbMaintenanceProvider.GetListOrCache[T](String cacheKey, String sql) 場所 SqlSugar.DbMaintenanceProvider.GetTableInfoList(Boolean isCache) 場所 SqlSugar.DbMaintenanceProvider.IsAnyTable(String tableName, Boolean isCache) 場所 Tellus.Core.Module.TellusCoreModule.BuildModule(IServiceProvider provider) 場所 Tellus.Core.Module.AppModule.BuildModule(IApplicationBuilder app) 場所 Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions.<>c__DisplayClass0_0.1.ForEach(Action
1 action) 場所 Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions.BuildApplication(IApplicationBuilder app, IHostEnvironment env, IHostApplicationLifetime applicationLifetime) 場所 AssetManager.Api.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime applicationLifetime) (D:\GitLab\AssetManageAPI\AssetManagerSystem\src\AssetManager.Api\Startup.cs):行 55 場所 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) 場所 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 場所 Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) 場所 Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>cDisplayClass4_0.