mysql - Windows 8.1 64 位 Tomcat 7.0.53 上的 BIRT 4.3.2 给出错误 'Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc. '

标签 mysql tomcat jdbc birt

我一直致力于使用 BIRT 和 MySql 创建报告。虽然我能够使用 BIRT 查看器成功运行报告,但当我尝试与 tomcat 集成时,它会出现以下错误

org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details: Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc. org.eclipse.birt.report.data.oda.jdbc.JDBCException: Failed to get connection. SQL error #1:Access denied for user 'root'@'localhost' (using password: NO) ; java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)

有人可以帮忙吗?

最佳答案

该错误信息表明您无权使用 root 在没有任何密码的情况下登录 MySQL 数据库。据我所知,root 的默认密码在 MySQL 中是“sa”。请检查您的数据库是否需要任何密码。

关于mysql - Windows 8.1 64 位 Tomcat 7.0.53 上的 BIRT 4.3.2 给出错误 'Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc. ',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23383928/

相关文章:

mysql - 使用 INSERT ... SET 与 INSERT ... VALUES 的批处理语句的性能

mysql - 在 InnoDB 中定义关系时的 CASCADE

java - 如何在没有(非默认)构造函数的 Java 类中模拟对象?

sql - JDBC SQL :Where is the detailed specification?

javax.xml.stream.XMLStreamException : ParseError 异常

tomcat - 临时环境中的 Activiti 计时器事件

java - 使用 Java 将 Oracle 数据库迁移到 MS Access 的最佳方法是什么?

php - 使用php从两列mysql csv获取csv值

mysql - 将分组日期格式化为可读日期

mysql - 如何将 HubSpot 数据自动集成到 MySQL 数据库中?