Wyn Enterprise User Guide

Wyn Enterprise: Mysql Data Provider

To create a Mysql data source in Wyn Enterprise, follow these steps.

  1. On the Resource Portal, navigate to Create (+) > Create Data Source.

  2. Select Mysql in the data source list on the left or in the icon view on the right.

  3. Fill in the database configuration information for the selected data source.

Field Description
Name The name for the data source that you want to specify.
Server A server name.
Port A port number, the default is 3306.
User A user name to connect to the Mysql database.
Password A password of the Mysql user.
Database Enter the server Mysql instance name or click the drop-down arrow to select the instance.

You can also enter the connection string directly instead of filling the above details. The format of the string is as follows:

Server=myServerAddress;Port=mySeverPort;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
  1. Verify the Mysql connection by clicking Test Connection. If the data source is available, and the credentials are correct, you receive a notification on successful connection.

  2. Click Create after the connection is successful.

After the successful creation, you can view the added data source in the Categories tab of the Resource Portal.

Note: If you cannot use the dashboard or report due to the incomplete reading of the Mysql data after the system is upgraded and installed, you should modify the data source connection as follows.
    1. If you initially used the connection string, you should delete the database name in the string, such as
    Code Implementation
    2. If you initially used the configuration item, you should change the connection string in Use Configuration String as follows (pay attention to the characters - the database name is not included in the string).
    Code Implementation