Spring Boot starter from summer 2021 uses the connector: mysql-connector-java-8.0.26.jar. This DOES NOT work with historical code. However, overriding the Spring Boot and using the previous version 8.0.16 does work with sql2o.
There is something about the latest that is not working, and it is unclear if the problem is with Oracle's connector or with the sql2o codebase. But with 8.0.26 there are type-mapping inconsistencies that cause Sql2oExceptions. My SO case is here:
https://stackoverflow.com/questions/69038452/does-sql2o-work-with-the-latest-mysql-versions