create connection SQLException, url: jdbc:mysql://localhost:3306/db13, errorCode 1045, state 28000
出现这种问题的时候大多是URL配置出错了,
请参考改下:
url: jdbc:mysql://localhost:3306/reggie?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true