siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.7k stars 1.21k forks source link

Mysql 5.5 安装失败 #2510

Open dobit opened 4 years ago

dobit commented 4 years ago

安装过程提示 guid 错误

无法进入后台 提示

Unknown column 'Guid' in 'field list'

at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId) at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader() at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at Dapper.SqlMapper.ExecuteImplAsync(IDbConnection cnn, CommandDefinition command, Object param) in C:\projects\dapper\Dapper\SqlMapper.Async.cs:line 678 at Datory.Utils.RepositoryUtils.UpdateAllAsync(IDatabase database, String tableName, IRedis redis, Query query) at Datory.Utils.RepositoryUtils.SyncAndCheckGuidAsync(IDatabase database, String tableName, IRedis redis, Entity dataInfo) at Datory.Utils.RepositoryUtils._GetObjectAsync[T](IDatabase database, String tableName, IRedis redis, CompileInfo compileInfo) at Datory.Utils.RepositoryUtils.<>cDisplayClass22_01.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Datory.Caching.CachingUtils.GetOrCreateAsync[T](ICacheManager1 cacheManager, String key, Func1 factory) at Datory.Utils.RepositoryUtils.GetObjectAsync[T](IDatabase database, String tableName, IRedis redis, Query query) at Datory.Repository1.GetAsync(Query query) at SSCMS.Core.Repositories.AdministratorRepository.AdministratorRepository.GetByUserNameAsync(String userName) at SSCMS.Core.Repositories.AdministratorRepository.AdministratorRepository.GetByAccountAsync(String account) at SSCMS.Core.Repositories.AdministratorRepository.AdministratorRepository.ValidateAsync(String account, String password, Boolean isPasswordMd5) at SSCMS.Web.Controllers.Admin.LoginController.Login(LoginRequest request) at lambda_method(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gLogged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

2020-07-13 17:12:14

dobit commented 4 years ago

版本是 7.0.0-preview5

cynixway commented 4 years ago

我使用preview7版本的 ,mysql是8.0.20-0ubuntu0.20.04.1 ,可以