1.报 Error updating database. Cause: java.sql.SQLException: null, message from server: "Host 'QTDORH7JYB1LSRK' is not allowed to connect to this MySQL
解决方案,把本地ip改为localhost
最后正确的配置如下
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/zjs?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai