Connection unsuccessful when trying to connect to MySQL Database in the Web Report Designer
Environment
| Product | Report designer |
|---|---|
| Progress® Telerik® Reporting | Web Report Designer |
Description
For general MySQL connection instructions, see the MySQL data provider article.
The Web Report Designer SQL Data Source Wizard returns the following error when you try to connect to a MySQL database.
Error Message
Connection unsuccessful. Check the connection string and try again. Keyword not supported: 'port'.
Cause
The SQL Data Source Wizard does not provide the correct data provider name. On the first wizard page, the required provider is MySql.Data.MySqlClient, but the wizard offers only MySql.Data.
Because the engine cannot identify the provider, it falls back to System.Data.SqlClient and reports that Port is not a supported keyword.
Workaround
Avoid the SQL Data Source Wizard for this connection and edit the data source properties directly in the properties grid:
- Open the SQL data source properties in the Web Report Designer properties grid.
- Set Data Provider to
MySql.Data.MySqlClientinstead ofMySql.Data. - Enter or verify the MySQL connection settings directly in the data source properties.
The issue is tracked in the Feedback Portal item for this MySQL connection problem.