Windows Machine上的Apache Nifi无法连接到同一主机上的MySQL数据库

发布于 2025-01-22 09:27:53 字数 395 浏览 2 评论 0原文

我有一个在Windows计算机上运行的Apache Nifi实例。我未能将其连接到在Localhost上运行的MySQL数据库,并且可以从任何主机访问。

我已经附加了连接的配置

​尝试将数据库连接URL端口从3306 T0 33061更改,反之亦然,也没有任何成功。

在公告板上,AM收到错误“ 没有适合给定数据库连接URL的驱动程序:对于给定数据库连接URL,也没有合适的驱动程序,即使在重新启动Apache Nifi之后,状态也卡在启用上。

请。请 在这里。

。协助AM卡

I have an instance of Apache NiFi running on the windows machine. I have failed to connect it with the MySQL database which is running on localhost and is accessible from any host.

I have attached the configurations of the connection

enter image description here

I tried to change the class name from com.mysql.jdbc.Driver to com.mysql.cj.jdbc.Driver and vice-versa without success, I also tried to change the Database connection URL port from 3306 t0 33061 and vice-versa also without any success.

on the bulletin board am getting the error "No suitable driver for the given Database Connection URL: No suitable driver for the given Database Connection URL and the status is stuck on enabling even after restarting the apache NiFi.

Please assist am stuck in here.

ps: I don't have password set for the root user of my database

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半岛未凉 2025-01-29 09:27:53

URL中的错字 - 您有JBDS而不是JDBC

typo in url - you have jbds instead of jdbc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文