Java 配置文件连接mysql错误:Malformed database URL, failed to parse the connection string
原链接:
jdbc:mysql://localhost:3306/mybatis?
serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf8
正确写入配置链接:应该使用&符号,不再需要分号
url=jdbc:mysql://localhost:3306/mybatis
?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=utf8