I am trying to connect to Postgres in Base SAS 9.4 for the first time using the following command:
libname pg postgres user=**** pwd=***** server="****" database=**** conopts="sslmode=require" ;
I am receiving the following error:
CLI error trying to establish connection: Service negotation failed; The client and server
cannot communicate, because they do not possess a common algorithm. in
DoSchannelNegotiation:CreateSchannelCredentials
If anyone recognizes this error, please let me know how you resolved it!
I find this https://community.denodo.com/answers/question/details?questionId=9064u000000HA0PAAW&title=Setting+up...
with most of the same error text and a "solution" that points to possible TLS protocol settings as being involved.
May mean a call to SAS tech support is the way to go.
Did you configure the pg_hba.conf file to allow the connection from remote? If there is no specific entry with user, database and network you will not be able to connect to the PostgreSQL database at all.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.