failed to parse the connection string near ';characterEncoding=utf8&useSSL=true&serverTimezone=GMT'.
今天在写代码时莫名其妙出现错误,因为以前写另一个项目的时候&这个符号编译不出来,所以后台使用这个现在居然又错误了。
将
jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT
改成
jdbc:mysql://127.0.0.1:3306/xxx?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT