Skip to main content

Hi, i'm trying to connect a PostgreSQL data source to my Tableau Desktop version 2026.1 (Apple Silicon). I've already downloaded the driver and placed it in the ~/Library/Tableau/Drivers folder, but I keep getting the following error: 

 

An error occurred while communicating with the PostgreSQL data source 'Untitled Data Source'. Bad Connection: Tableau could not connect to the data source. 

Error Code: DACBE23F 

The JDBC driver host process failed to respond. 

Unable to connect to the PostgreSQL server "my.server". Check that the server is running and that you have access privileges to the requested database. 

 

I have no problem accessing this server from my machine, so it's not a permissions issue. I've tried every solution I can find online, but nothing has worked. I need help.  

 

I'm using a MacBook with an Apple M4 chip and Sequoia 15.7.5 OS. 

 

#Tableau Desktop & Web Authoring

9 answers
  1. Apr 16, 10:57 PM

    @Caio Alves Fiorotti

     

    Hi, taking a look of the log.txt, I find the following:

    Hi, taking a look of the log.txt, I find the following:Basically it tell us that java started, and the driver has been found!! and then the java-sidecar is requested to start.

    Basically it tell us that java started, and the driver has been found!! 

    and then the java-sidecar is requested to start. 

     

    60 seconds later, we receive the first error message:

    image.png

     

    and then we get:

    image.png

     

    Thus, this may be related to antivirus or security blocking read/write to the following paths: (Check System Settings - Privacy and Security) 

     

    • /Users/<user account>/Documents/My Tableau Repository
    • /Applications/Tableau/
    • /Users/<user>/Library/Application Support/Tableau/
    • ~/Library/Application Support/Tableau/͏͏͏͏
    • /Library/Tableau/
    • ~/Library/Tableau/
    • /Library/Preferences/Tableau/
    • ~/Library/Preferences/Tableau/

    As I have Windows, I don't know which is the exact folders that contains the port file.  In Windows, when you click on the postgres connector and try a connection, the port file is created under C:\Users\<user>\AppData\Local\Temp\TableauTemp. The port file begins with TEMP:image.png

     

    Also, I have found the following article to use the ODBC installer: 

    https://help.salesforce.com/s/articleView?id=001474726&type=1

     

     

    However, my best guess is your problem is related to antivirus, firewall or security policy blocking the use of localhost ports, or blocking access read/write to the mentioned folders (most possible this one, because the port file cannot be created, and therefore not readed) 

     

    As I don't have a Mac, I can't tell you what are the next specific steps. However, now you have a diagnostic of what is happening, or a starting point to create a support case. 

     

    If this post resolves the question, would you be so kind to "Accept this Answer"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you. 

     

    Regards, 

     

    Diego Martinez 

    Tableau Visionary and Tableau Ambassador

0/9000