按照4-8节安装时候遇到一个数据库的错
来源:4-6 Apache Rangr安装
_Switchon_
2020-03-03
老师好。我在配置完执行./setup.sh时候报错。(我的mysql用的8.0.17,其他软件版本都和您课中一样)
java.sql.SQLSyntaxErrorException: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs.
2020-03-03 09:29:08,257 [E] 017-add-new-column-to-store-tags.sql import failed!
然后我查阅相关资料大概知道了这个错在说什么,然后我把这个sql过程创建的’tags’列由varchar(4000)改为varchar(3000)然后就安装成功了。这样强行修改在后面的应用中会有啥影响吗?
写回答
1回答
-
影响应该不大,这是mysql版本差异引起的异常。 一般情况下tags 的长度足够使用。
022021-11-01
相似问题