你数据库名字是叫finedb么?是mysql8.0版本数据库么?JDBC 连接 MySQL8.0 版本数据库-https://help.finereport.com/doc-view-2863.html
图片中有 1 个问题就是 URL 中没有带上接口,
原文为:
jdbc:mysql://localhost/finedb?characterEncoding=UTF-8
比如数据库端口为 3306,则修改为:
jdbc:mysql://localhost:3306/finedb?characterEncoding=UTF-8
具体步骤可参考楼上 @圣体叶小凡 的建议阅读 帮助文档-JDBC 连接 MySQL8.0 版本数据库
Mac 实操可行。