0
点赞
收藏
分享

微信扫一扫

error:Data truncation: Data too long for column 'last_name' at row 1

场景:我想存一个长一点的字段,大改几百字,但是报错,经过三个小时的查找,找到解决方案

spring.datasource.url=jdbc:mysql://localhost:3306/conweb?sessionVariables=sql_mode='NO_ENGINE_SUBSTITUTION'&jdbcCompliantTruncation=false
举报

相关推荐

0 条评论