使用IDEAL连接数据库,运行出来了 结果显示一些警告,这部分怎么处理

实例化Stateent 对象。·
ID:1,姓名:王小美,年龄:12
ID:2,姓名:潘晓华,年龄:19
Wed Jun 22 21: 32: 22 CST 2022 WARN: Caught while disconnecting
EXCEPTION STACK TRACE

  • BEGIN NESTED EXCEPTION
    Javax. net. ssL. SSLException
    MESSAGE: cLosing inbound before receiving peer's cLose_ notify
    STACKTRACE:
    javax. net. ssL. SSLException Create breakpoint: cLosing inbound before receiv............

把你连接数据库的代码发个图,应该是Mysql在高版本需要指明是否进行SSL连接。
在mysql连接字符串url中加入ssl=true或者false即可。
jdbc:mysql://192.168.222.131:3306/activiti01?useSSL=false
有帮助请采纳

这是我的配置

img