Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

ODBC Password won't save

I'm trying to connect a postgres db to Power BI client using ODBC connection   downloaded the ODBC driver, setup the DSN   when I input the username and password in Power BI, it seems like PBI is...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Microsoft support helped solve the issue:

     

    for the native postgres connector, I had the Encryption option selected.

    going into File > Options & Settings > Data Source Settings > Edit Permissions > and unchecking the "Encrypt Connections" box solved the issue.

     

     

     

    for the ODBC connection, there is a % character in the Password I'm using that had to be amended to %25 - once I made that change, Power BI accepted the password. see:

    PostgreSQL ODBC to PowerBI Password - Microsoft Fabric Community

     

    When PostgreSQL/AWS password is “11COEde1%23”, but when stored within the registry as a flat text entry, the “%” character is probably not considered during the handshake process. By adding the appropriate ASCII encode “%25”, which is equal to “%”, the connection worked perfectly fine.

     

    By adding the appropriate ASCII encode “%25”, which is equal to “%”, the connection worked