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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.