如何使用 phpmyadmin 开始 crystal 报告?

how to start with crystal report with phpmyadmin?

所以我正在使用 visual studio community 2015phpmyadmin version 10.1.21-MariaDB 当我按照这些步骤 http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-stepbystep.htm 时,问题是连接 crystal report version 13.0.18.2192 我卡在 connection information 上,特别是在确定 combobx 的 server 不包含任何内容时,出于这个原因,我去做了一些研究,发现 serverhostname 基本上是同样,所以我选择 localhost 作为我的服务器,但是当我点击完成时,我的 visual studios 冻结并且仍然无法工作。

尝试将服务器地址从 "localhost" 更改为循环 IP 地址 127.0.0.1。

由于 Crystal Reports 本身不支持 MariaDB,因此您需要先安装和配置 ODBC 驱动程序。

ODBC驱动,下载地址:https://downloads.mariadb.org/connector-odbc/

安装驱动程序后,转到管理工具> ODBC 管理器和create a new System DSN for MariaDB

Connection parameters

When configuring a DSN you can use the following keywords:

  • DSN: Name of the DSN
  • Driver: The name of the MariaDB ODBC Driver. Must always be {MariaDB ODBC 2.0 Driver}
  • Server: name or IP of the MariaDB database server. Aliases: Servername
  • User: user name for database authentication. Aliases: UID,
  • Password: password for database authentication. Aliases: PWD
  • Database: default database. Aliases: DB
  • Port: TCP/IP Port of the database server
  • Option: For MySQL Connector/ODBC compatibility. Aliases: Options

安装和配置后,指向 Crystal 报告中的数据源。