---
title: "MySQL"
canonical: "https://wiki.yellowfinbi.com/space/yfcurrent/2195950/MySQL"
format: markdown
---
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](https://yellowfin.atlassian.net/wiki/display/yfcurrent/Plugin+Management) or [Creating a Basic Data Source Connection.](https://yellowfin.atlassian.net/wiki/display/yfcurrent/Creating+a+Basic+Data+Source+Connection)

1. Click on the **Create** button and choose the data source option.   
> Macro (inline-media-image)

  
<span style="color: #000000">2. Select </span>**<span style="color: #000000">MySQL</span>**<span style="color: #000000"> from the databases list.</span>  
> Macro (inline-media-image)

  
3. When the New Connection popup appears, provide a name and description for your database.  
<span style="color: #000000">4. </span>**<span style="color: #000000">Connection String: </span>**<span style="color: #000000">when selecting Connection String you have the same functionality as in </span>[<span style="color: #000000">Generic JDBC Data Source</span>](https://yellowfin.atlassian.net/wiki/display/yfcurrent/Generic+JDBC+Data+Source)**<span style="color: #000000">.</span>**  
> Macro (inline-media-image)

  
<span style="color: #000000">5. </span>**<span style="color: #000000">MySQL</span>**<span style="color: #000000"> configuration fields:</span>  
> Macro (inline-media-image)

  
<span style="color: #000000">6. </span>**<span style="color: #000000">Authentication Adapter:</span>**<span style="color: #000000"> Specify an authentication method for the database adapter. More details </span>[<span style="color: #000000">Advanced Connection Editor</span>](https://yellowfin.atlassian.net/wiki/display/yfcurrent/Understanding+Connection+Parameters#UnderstandingConnectionParameters-AdvancedConnectionEditor)<span style="color: #000000">.</span>  
7. Select the **Include Schema in SQL** checkbox to include the schema name when addressing database tables in SQL queries.   
> Macro (inline-media-image)

  
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.  
> Macro (inline-media-image)

  
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.  
<span style="color: #000000">14. Toggle Advanced Settings to see more settings. </span>  
> Macro (inline-media-image)

  
15. Once you have completed your connection information, you will have several options:  
> Macro (inline-media-image)



> Macro (legacy-content)