Like what you see? Have a play with our trial version.

Follow the instructions below to connect Yellowfin to a MySQL database and set up the data source.

Yellowfin does not ship with the driver required for this connection due to licensing/paywall reasons. You will need to manually upload the driver through the Plugin Manager or Creating a Basic Data Source Connection.

1. Click on the Create button and choose the data source option. 

2. Select MySQL from the databases list.

3. When the New Connection popup appears, provide a name and description for your database.
4. Connection String: when selecting Connection String you have the same functionality as in Generic JDBC Data Source.

5. MySQL configuration fields:

6. Authentication Adapter: Specify an authentication method for the database adapter. More details Advanced Connection Editor.
7. Select the Include Schema in SQL checkbox to include the schema name when addressing database tables in SQL queries. 

8. Next, enter the name or IP address of the server hosting the database.
9. The default port number for MySQL will automatically appear.
10. Provide the name of the database containing the data that you require.
11. Select the Use Custom Fetch Size checkbox if you want a select number of data rows to be retrieved from the database after a query is executed. Specify the number of rows.

12. Yellowfin will automatically select the correct JDBC driver to talk to your MySQL database.
13. Enter the username and password of your database account.
14. Toggle Advanced Settings to see more settings. 

15. Once you have completed your connection information, you will have several options:

    1. Back: This will navigate to the database selection.
    2. Cancel: This will close the New Connection popup.
    3. Test Connection: This will test the connection parameters you provided to ensure it can connect to your database. If the connection is successful, an indicator will appear and you will be able to save the connection. 
    4. Save: This will allow you to save your connection and navigate to the Success page:
  • No labels