- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
-
Data Governance and Modeling
- Data Binding Concepts
-
Introduction to Data Sources
- Connect to Oracle
- Connect to SQL Server
-
Connect to MySQL
- Connect to Postgres
- Connect to Snowflake
- Connect to SQLite
- Connect to DM
- Connect to TiDB
- Connect to AnalyticDB(MySQL)
- Connect to GreenPlum
- Connect to TimeScale
- Connect to Amazon Redshift
- Connect to MariaDB
- Connect to ClickHouseV2
- Connect to MonetDB
- Connect to Kingbase
- Connect to GBase8a
- Connect to GBase8s
- Connect to ClickHouse
- Connect to IBM DB2
- Connect to IBM DB2 iSeries/AS400
- Connect to Google BigQuery
- Connect to Hive (beta)
- Connect to ElasticSearch (beta)
- Connect to Hana
- Connect to Excel
- Connect to JSON
- Connect to CSV
- Connect to XML
- Connect to MongoDB
- Connect to ElasticSearchDSL
- Connect to InfluxDB
- Connect to ODBC
- Connect to OData
- Introduction to Data Model
- Introduction to Direct Query Model
- Introduction to Cached Model
- Introduction to Datasets
- How To
- Secure Data Management
- Working-with-Resources
- Working with Reports
- Working with Dashboards
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Developer Guide
Connect to MySQL
To create a MySQL data source in Wyn Enterprise, follow these steps.
On the Resource Portal, navigate to Create (+) > Create Data Source.
Select Mysql in the data source list on the left or in the icon view on the right.
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 or address. |
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 to select the instance. |
Use Configuration String (Advanced) | Use this option to connect to the data provider through a connection string. The format of the connection string is:Server=myServerAddress; Port=myServerPort; Database=myDataBase; Uid=myUsername; Pwd=myPassword; In addition, you can use the user context attribute in the string to filter data, in the format "@" such as "@". See User Context for details. |
Use Table/Field Name Mapping | If you check this option, you can either import a CSV file or manually enter the display names for the required tables or fields in the Mapping dialog. In case of the RDBMS databases, you can also import the name mapping information from another database. For more information on mapping table and column names, visit this topic. |
* Required fields
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.
Click Create after the connection is successful.
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
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).