Complete the code to connect Tableau to a SQL Server database using the correct driver name.
connection = tableau.connect(driver='[1]', server='sqlserver.example.com', database='SalesDB')
The correct driver name for connecting to SQL Server in Tableau is SQL Server.
Complete the code to connect Tableau to a PostgreSQL database specifying the correct port number.
connection = tableau.connect(driver='PostgreSQL', server='pg.example.com', port=[1], database='AnalyticsDB')
The default port for PostgreSQL is 5432. This is required to connect properly.
Fix the error in the connection string by selecting the correct authentication method for SQL Server.
connection = tableau.connect(driver='SQL Server', server='sqlserver.example.com', authentication='[1]')
For SQL Server, Tableau commonly uses Windows authentication to connect securely.
Fill both blanks to complete the Tableau connection code for PostgreSQL with SSL enabled.
connection = tableau.connect(driver='[1]', server='pg.example.com', sslmode='[2]')
To connect to PostgreSQL with SSL, use driver PostgreSQL and set sslmode to require.
Fill all three blanks to complete the Tableau connection code for SQL Server using a specific port and database.
connection = tableau.connect(driver='[1]', server='sqlserver.example.com', port=[2], database='[3]')
SQL Server uses driver SQL Server, default port 1433, and the database name is SalesDB.