KNOWLEDGE BASE

When Rendering The View "Error: [SQLSTATE:58S01] error opening database <database name> There was an error during loading the database" Occurs


Published: 12 Nov 2021
Last Modified Date: 13 Nov 2021

Issue

When connecting to a view in Tableau Online this error presents instead of the view rendering as expected.

Environment

  • Tableau Online

Resolution

This is the solution for workbooks with embedded data sources:
  1. Download the workbook to your computer.
  2. Open the .twbx in Tableau Desktop.
  3. Right-click on the data source and select the extract menu.
  4. From the extract menu choose refresh. 
  5. After the refresh is complete, Republish the workbook to Tableau Online.

Cause

SQL Database connection error

Additional Information

[SQLSTATE:58S01] error opening database <database name>: There was an error during loading the database:
The database does not exist. Unable to connect to the data extract server "".
Check that the server is running and that you have access privileges to the requested database.
Did this article resolve the issue?