Follow the instructions below to connect Yellowfin to a Microsoft SQL Server database.
Click on the Create button and choose the data source option.
Then select the database option.
When the New Connection popup appears, provide a name and description for your database.
Choose Microsoft SQL Server from the list of available database options. New configuration fields will appear on doing so.
Select the Include Schema in SQL checkbox to include the schema name when addressing database tables in SQL queries.
Next, enter the name or IP address of the server hosting the SQL server database.
From the Driver drop down list, select one of the two drivers available for SQL server.
Next, specify if you want to create a default instance or a named instance of SQL Server. If an instance of Microsoft SQL Server is not already installed then a default one will be created, unless a named instance has been specified.
To specify a named instance, first select the Use Named Instance checkbox, and then enter the name of the instance in the new field.
The default TCP/IP port number for the SQL server database will automatically appear.
Specify the name of the database containing the data that you require.
From the Database Authentication list, choose an authentication method for the database.
On selecting the Windows Authentication method, you will need to provide the domain name as well.
From the SSL dropdown list, choose whether or not the Secure Sockets Layer should be enabled to encrypt data.
Select the Use Custom Fetch Size checkbox if you want a specific number of data rows to be retrieved from the database after a query is executed, rather than fetching its entire result. Then specify the number of rows in the Fetch Size field. Doing so will allow Yellowfin to process data faster.
The selected JDBC driver option appears based on your selected in step 7.
Enter the username and password of your SQL server database account.
Once you have completed your connection information, you will have several options:
Advanced Connection Editor: This will take you to the Data Source page in the Admin Console and allow you to edit all the advanced options available for your database.
Test Connection: This will test the connection parameters you provided to ensure it can connect to your database. If the connection was successful, a message will appear.
Create View: This will save your connection and get you started on creating a view based on it.
Save & Close: This will allow you to save your connection and close the New Connection popup, returning you to the page you were on previously.
Cancel: This closes the New Connection popup without saving your connection, returning you to the page you were on previously.
- We recommend testing the connection, and then saving it by using the Save & Close button.