Java 配置文件连接mysql错误:Malformed database URL, failed to parse the connection string
Java 配置文件连接mysql错误:Malformed database URL, failed to parse the connection string原链接:jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&useSSL=false&useUnicode=true&characte
·
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
更多推荐
已为社区贡献2条内容
所有评论(0)