Skip to main content Skip to complementary content

Create a MySQL Enterprise Edition connection

To access your data stored on a MySQL Enterprise Edition database, you will need to know the server and database name that you want to connect to, and you must have access credentials. Once you have created a connection to a MySQL Enterprise Edition database, you can select data from the available tables and then load that data into your app or document.

In Qlik Sense, you connect to a MySQL database through the Add data dialog or the Data load editor.

In QlikView you connect to a MySQL database through the Edit Script dialog.

Setting up the database properties

Database properties that can be configured
Database property Description Required
Host name Host name to identify the location of the MySQL Enterprise Edition database. Yes
Port Server port for the MySQL Enterprise Edition database. Yes
Database The name of the MySQL Enterprise Edition database. Yes

Authenticating the driver

Qlik Sense: MySQL Enterprise Edition authentication properties

Authentication properties that can be configured
Authentication property Description
Username User name for the MySQL Enterprise Edition connection.
Password Password for the MySQL Enterprise Edition connection.
Name

Name of the MySQL Enterprise Edition connection. The default name will be used if you do not enter a name.

QlikView: MySQL Enterprise Edition authentication properties

Authentication properties that can be configured
Authentication property Description
Username User name for the MySQL Enterprise Edition connection.
Password Password for the MySQL Enterprise Edition connection.

Account properties

Credentials

Credentials are used to prove that a user is allowed to access the data in a connection.

There are two types of credentials that can be used when making a connection in Qlik Sense SaaS. If you leave the User defined credentials check box deselected, then only one set of credentials will be used for the connection. These credentials belong to the connection and will be used by anyone who can access it. For example, if the connection is in a shared space, every user in the space will be able to use these credentials. This one-to-one mapping is the default setting.

If you select User defined credentials, then every user who wants to access this connection will need to input their own credentials before selecting tables or loading data. These credentials belong to a user, not a connection. User defined credentials can be saved and used in multiple connections of the same connector type.

In the Data load editor, you can click the Primary key underneath the connection to edit your credentials. In the hub or Data manager, you can edit credentials by right-clicking on the connection and selecting Edit Credentials.

See which authentication type applies on each connector's page.

Account properties that can be configured
Account property Description
User defined credentials Select this check box if you want users that access this connection to have to input their own credentials. Deselect this check box if credentials can be shared with anyone who has access to this connection.
New credentials Drop-down menu item that appears if User defined credentials is selected.
Existing credentials Drop-down menu item that appears if User defined credentials is selected.
User User name for the connection.
Password Password for the connection.
Credentials name Name given to a set of user defined credentials.

Selecting SSL settings

SSL options that can be configured
SSL Mode setting Description
disabled SSL is disabled and the connection is not encrypted.
preferred SSL is used whenever the server supports it.
required SSL is required.
verify_ca SSL is required and the server certificate must be verified.
verify_identity SSL is required, the server certificate must be verified, and the host name must match the host-name attribute on the server certificate.

Specifying certificate location

Certificate properties that can be configured
Certificate storage Description
Use System Trust Store Use the SSL certificate located in the standard system location used for storing trusted certificates. This property can be selected only when SSL is enabled.
Trusted Certificate The .pem file containing trusted CA certificates, for verifying the server when using SSL.
Client Certificate The .pem file containing the SSL certificate used for proving the identity of the client.
Client Certificate Key The file containing the private key used for encrypting the client-side certificate during two-way SSL verification.

Miscellaneous properties

Miscellaneous properties and options that can be configured
Property Description
Query timeout Amount of time before a data load query times out. Can be set from 30 seconds to 65535 seconds. Default is 30 seconds.

Load optimization settings

Load properties that can be configured
Property Description Required
Max String Length

Maximum length of string fields. This can be set from 256 to 16384 characters. The default value is 4096. Setting this value close to the maximum length may improve load times, as it limits the need to allocate unnecessary resources. If a string is longer than the set value, it will be truncated, and the exceeding characters will not be loaded.

No

Advanced options

Information noteThis section is for advanced users who want to add their own custom connection parameters that are not displayed above.
Advanced options that can be configured
Property Description Required

Name

Name of the custom property. You can add additional properties by clicking the Plus sign icon.

No
Value

Value of the property.

No
Information noteWhen you connect to a MySQL Enterprise Edition database with the Data load editor or the Edit Script dialog, Test Connection enables you to test the connection before you attempt to create it.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!