mysql - 连接 MySQL 和 Crystal Reports v10

标签 mysql visual-studio-2010 crystal-reports crystal-reports-2008

我是 Crystal Reports v10 的新手,我正在创建要嵌入到 Visual Studio 2010 表单中的报表。我使用的数据库服务器是 MySQL。我有一些关于在 Crystal 报表中创建新连接的问题。根据我读过的内容,我应该选择 ODBC 以便将它连接到 MySQL。但是,当我选择 ODBC 和 LocalServer 并输入用户名和密码时,出现错误消息并显示 Logon Failed。我做对了吗?有什么可以帮我的吗?

我已经安装了MySQL Connector/ODBC 5.1

enter image description here

enter image description here

enter image description here

最佳答案

您需要安装 MySQL ODBC Connector. .从 Administrative Tools\ODBC Data sources 控制面板创建 ODBC 数据源。然后它将在 Crystal Reports 中可用。

关于mysql - 连接 MySQL 和 Crystal Reports v10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7020083/

相关文章:

mysql - = 是什么?在 H2/SQL 数据库查询中的意思

mysql - 解释一下这两个SQL查询之间的区别?

visual-studio-2010 - CMake 配置失败。 "cl.exe is not able to compile a simple test program"

visual-studio-2010 - 在 VS 2010 RC 扩展中为给定的 ProjectItem 查找 IVsTextView 或 IWpfTextView

crystal-reports - 如何在 Crystal Report 公式中插入回车符?

mysql - CakePHP 2.x 字段为空或 null

sql - Mysql COUNT(*) 在多个表上

visual-studio-2010 - 将 Microsoft 推送通知服务与 Window Phone 一起使用

crystal-reports - 无法加载 CrystalDecisions.ReportAppServer.ClientDoc

c++ - 导出为 PDF 时出错(RPC 服务器不可用)