![](/img/trans.png)
[英]Not able to connect to MySQL database when using Apache NiFi in Linux Ubuntu
[英]Apache NiFi on Windows machine failed to connect to MySQL database on same host
我有一个在 windows 机器上运行的 Apache NiFi 实例。 我无法将它与运行在本地主机上且可从任何主机访问的 MySQL 数据库连接起来。
我附上了连接的配置
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 .
在公告板上出现错误“ No suitable driver for the given Database Connection URL: No suitable driver for the given Database Connection URL
并且即使在重新启动 apache NiFi 后,状态仍然停留在启用状态。
请帮助我被困在这里。
ps:我没有为我的数据库的root用户设置密码
url 中的拼写错误 - 您使用的是jbds
而不是jdbc
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.