当尝试使用MySQL-8数据库安装Liferay-7时,命令提示符将被卡在下面的错误上,而且安装也无法完成。
2018-07-06 12:41:15.163 INFO [main][ReleaseLocalServiceImpl:130] Create tables and populate with default data
2018-07-06 12:41:40.559 WARN [main][BaseDB:484] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'system tinyint,_ maxUsers integer,_ active_ tinyint_) engine InnoDB' at line 10: create table Company (_ mvccVersion bigint default 0 not null,_ companyId bigint not null primary key,_ accountId bigint,_ webId varchar(75) null,_ key_ longtext null,_ mx varchar(200) null,_ homeURL longtext null,_ logoId bigint,_ system tinyint,_ maxUsers integer,_ active_ tinyint_) engine InnoDB;_ [Sanitized]发布于 2018-07-07 16:27:36
MySQL 8.0是2018年4月释放,Liferay7.0是2016年4月释放。这是一个很好的猜测,Liferay还没有在一个数据库上进行测试,该数据库在最初发布后已经有两年没有发布。
你可以找到此处企业版本的兼容性矩阵。对于CE发行版所支持的基础设施,它通常也是一个很好的指示符(区别在于仅限于开放源码数据库和应用服务器)。本文档列出了LiferayDXP7.0所支持的数据库MySQL 5.6、5.7和MariaDB 10,该版本是企业支持的与LiferayPortal7.0CE并行的版本。
https://stackoverflow.com/questions/51210906
复制相似问题