![]() |
VOOZH | about |
In this article, we will guide you through the deployment process of the CData ADO.NET Provider for MySQL on an SQL Server Reporting Services (SSRS) report server. Additionally, you will learn how to establish a shared data source, which facilitates connectivity to real-time MySQL data from various reports. You can then access these shared data sources from the Report Designer within Visual Studio. For detailed instructions on creating datasets in Report Designer using ADO.NET, please refer to the "Using ADO.NET" section in the help documentation.
The provider installation automatically deploys the provider on report servers in native mode. On report servers in SharePoint mode, you can use the install-sprs.ps1 PowerShell script to deploy. Simply run the script from the lib subfolder in the installation directory, or pass in the "path" parameter.
You can create shared data sources directly from a report server or SharePoint site. Alternatively, you can use Report Designer to create shared data sources.
You can use Report Designer to create shared data sources on native mode report servers and report servers on a SharePoint server farm.
User=myUser;Password=myPassword;Database=NorthWind;Server=myServer;Port=3306;
The CData Provider supports connecting to on-premises and cloud-hosted versions of MySQL such as Amazon RDS for MySQL, Google Cloud SQL for MySQL, Azure Database for MySQL, or Oracle MySQL HeatWave. The Server and Port properties must be set to a MySQL server. If IntegratedSecurity is set to false, then User and Password must be set to valid user credentials. Optionally, Database can be set to connect to a specific database. If not set, tables from all databases will be returned.
You can use SSH (Secure Shell) to authenticate with MySQL, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
When you configure the connection, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
👁 Properties to define a shared data source in Report Designer. (Salesforce is shown.)On native mode installations of report server, you can use Report Manager to create shared data sources. You must have permissions to manage data sources on the report server.
User=myUser;Password=myPassword;Database=NorthWind;Server=myServer;Port=3306;
The CData Provider supports connecting to on-premises and cloud-hosted versions of MySQL such as Amazon RDS for MySQL, Google Cloud SQL for MySQL, Azure Database for MySQL, or Oracle MySQL HeatWave. The Server and Port properties must be set to a MySQL server. If IntegratedSecurity is set to false, then User and Password must be set to valid user credentials. Optionally, Database can be set to connect to a specific database. If not set, tables from all databases will be returned.
You can use SSH (Secure Shell) to authenticate with MySQL, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
Follow the steps below to create a shared data source on a SharePoint site. Note that this step has the following prerequisites in SharePoint 2013:
Follow the steps below to add the report server content types to your library:
You can then create the shared data source. You will create an .rsds file that contains the connection information to MySQL.
User=myUser;Password=myPassword;Database=NorthWind;Server=myServer;Port=3306;
The CData Provider supports connecting to on-premises and cloud-hosted versions of MySQL such as Amazon RDS for MySQL, Google Cloud SQL for MySQL, Azure Database for MySQL, or Oracle MySQL HeatWave. The Server and Port properties must be set to a MySQL server. If IntegratedSecurity is set to false, then User and Password must be set to valid user credentials. Optionally, Database can be set to connect to a specific database. If not set, tables from all databases will be returned.
You can use SSH (Secure Shell) to authenticate with MySQL, whether the instance is hosted on-premises or in supported cloud environments. SSH authentication ensures that access is encrypted (as compared to direct network connections).
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
To connect to MySQL via SSH in Password Auth mode, set the following connection properties:
Download a free trial of the MySQL Data Provider to get started:
Download NowLearn more:
👁 MySQL IconRapidly create and deploy powerful .NET applications that integrate with MySQL-compatible database engines.