原因是 UserConnection 表中的 rank 字段 在mysql 8被 新增为保留关键字 所以无法使用 mysql8 报错sql:select coalesce(max(rank) + 1, 1) as rank from UserConnection where userId = ? and providerId = ?