MyBatis定义mysql连接url时出错
jdbc:mysql://localhost:3306/db?useUnicode=true&useSSL=false
mybaits:对实体 "useSSL" 的引用必须以 ';' 分隔符结尾。
因为xml文件中&是被禁止的需要用到它的转义字符"&"
所以连接url应该改为
jdbc:mysql://10.0.0.99:3306/iot_middlewaredb?useUnicode=true&useSSL=false
MyBatis定义mysql连接url时出错
jdbc:mysql://localhost:3306/db?useUnicode=true&useSSL=false
mybaits:对实体 "useSSL" 的引用必须以 ';' 分隔符结尾。
因为xml文件中&是被禁止的需要用到它的转义字符"&"
所以连接url应该改为
jdbc:mysql://10.0.0.99:3306/iot_middlewaredb?useUnicode=true&useSSL=false