Connecting to the MySQL database

There are two connection methods for the MySQL database: General connection and SSL connection. We will show you how to use these methods one by one.

MySQL General connection

To configure the MySQL database connection using the General method:

  1. In the Database Configuration dialog box, enter any text as the cache name.

  2. Select MySQL from the Provider list, and then select the General tab.

  3. Input your IP address or your machine name to Host.

  4. Input the port number.

  5. Enter your Username and Password.

  6. Enter or select your database name from the Connect to a database list.

  7. Click Test Connection to make sure the connection is successful.

MySQL SSL connection

To configure the MySQL database connection using the SSL method:

  1. After configuring the settings in the General tab, select the SSL tab.

  2. Select the SSL mode.

    Currently only Preferred and Required modes are supported.

    • None -- Client is using an unencrypted connection.

    • Preferred -- Client attempts to connect using encryption, falling back to an unencrypted connection if an encrypted connection cannot be established.

    • Required -- Client requires an encrypted connection and fail if one cannot be established.

    • VerifyCA -- Client requires an encrypted connection and the CA certificate needs to be verified.

    • VerifyFull -- Client requires an encrypted connection. Both CA certificate and client certificate need to be verified.

    For more, refer to Using encrypted connections.

  3. Specify the SSL private key.

  4. Specify the SSL CA certification.

  5. Specify the SSL certification.

  6. Click Test Connection to make sure the connection is successful.