我一直致力于使用 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/