<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connect SAS Viya (Pay-as-you-go) to Azure SQL Server in SAS Viya (Pay-As-You-Go)</title>
    <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/920958#M210</link>
    <description>I am stuck on this too, did you solve this issue? &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/39167"&gt;@rich_sas&lt;/a&gt;</description>
    <pubDate>Tue, 19 Mar 2024 17:46:36 GMT</pubDate>
    <dc:creator>eastChase</dc:creator>
    <dc:date>2024-03-19T17:46:36Z</dc:date>
    <item>
      <title>Connect SAS Viya (Pay-as-you-go) to Azure SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/893493#M177</link>
      <description>&lt;P&gt;There is very little documentation that I can find on how to connect the Azure marketplace SAS Viya (Pay-as-you-go) with the Azure SQL within the same subscription.&lt;/P&gt;
&lt;P&gt;Please could someone share the steps required.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2023 20:01:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/893493#M177</guid>
      <dc:creator>ClarkLawson</dc:creator>
      <dc:date>2023-09-10T20:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS Viya (Pay-as-you-go) to Azure SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/920958#M210</link>
      <description>I am stuck on this too, did you solve this issue? &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/39167"&gt;@rich_sas&lt;/a&gt;</description>
      <pubDate>Tue, 19 Mar 2024 17:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/920958#M210</guid>
      <dc:creator>eastChase</dc:creator>
      <dc:date>2024-03-19T17:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS Viya (Pay-as-you-go) to Azure SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/921093#M211</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/464023"&gt;@eastChase&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We were able to connect using the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Enable SQL Server Authentication on the database. Noting to keep the DB credentials safe.&lt;/P&gt;
&lt;P&gt;2. Create the odbc.ini file within /export/&amp;lt;path&amp;gt;/data/db on the NFS server.&lt;/P&gt;
&lt;P&gt;3. Within the standard variables of the odbc.ini, we found that these worked:&lt;/P&gt;
&lt;PRE&gt;AuthenticationMethod=1
EncryptionMethod=1
ValidateServerCertificate=0&lt;/PRE&gt;
&lt;P&gt;4. Update the odbc.ini variable in the Kubernetes ConfigMap so that SAS knows about the new odbc.ini file that is on the JUMP server.&lt;/P&gt;
&lt;PRE&gt;kubectl -n &amp;lt;name&amp;gt; edit configmap sas-access-config-&amp;lt;uid&amp;gt;&lt;/PRE&gt;
&lt;P&gt;This will open up an editor to map change to the configMap.&lt;/P&gt;
&lt;P&gt;5. This may take a few minutes to take effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 11:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/921093#M211</guid>
      <dc:creator>ClarkLawson</dc:creator>
      <dc:date>2024-03-20T11:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS Viya (Pay-as-you-go) to Azure SQL Server</title>
      <link>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/922313#M224</link>
      <description>&lt;P&gt;Below are the steps for connecting to Azure SQL server:&lt;/P&gt;
&lt;P&gt;1. In the odbc.ini file that is located in the jump vm of the deployment (/viya-share/access-clients/odbc/odbc.ini), under section [ODBC Data Sources] section, add the bold font for Azure Synapse. Then add the block for Azure synapse [SQL Server Wire Protocol - Azure Synapse/SSL Enabled Example].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[ODBC Data Sources]&lt;BR /&gt;SQL Server Legacy Wire Protocol=SAS ACCESS to MS SQL Server Legacy&lt;BR /&gt;SQL Server Wire Protocol=SAS ACCESS to MS SQL Server&lt;BR /&gt;Amazon RedShift Wire Protocol=SAS ACCESS to Amazon Redshift&lt;BR /&gt;Greenplum Wire Protocol=SAS ACCESS to Greenplum&lt;BR /&gt;&lt;STRONG&gt;SQL Server Wire Protocol - Azure Synapse/SSL Enabled Example=SAS ACCESS to MS SQL Server&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;[SQL Server Wire Protocol - Azure Synapse/SSL Enabled Example]
Driver=/opt/sas/viya/home/lib64/accessclients/lib/S0sqls28.so
Description=SAS Institute, Inc 8.0 SQL Server Wire Protocol
AEKeyCacheTTL=-1
AEKeystorePrincipalId=
AEKeystoreClientSecret=
AlternateServers=
AlwaysReportTriggerResults=0
AnsiNPW=1
ApplicationIntent=0
ApplicationName=
ApplicationUsingThreads=1
AuthenticationMethod=1
BulkBinaryThreshold=32
BulkCharacterThreshold=-1
BulkLoadBatchSize=1024
BulkLoadFieldDelimiter=
BulkLoadOptions=2
BulkLoadRecordDelimiter=
BulkLoadThreshold=2
ColumnEncryption=Disabled
ConnectionReset=0
ConnectionRetryCount=0
ConnectionRetryDelay=3
CryptoProtocolVersion=TLSV1,TLSV1.1,TLSV1.2
Database=
Domain=
EnableBulkLoad=0
EnableQuotedIdentifiers=0
EnableServerSideCursors=1
EnableScrollableCursors=4
EncryptionMethod=1
FailoverGranularity=0
FailoverMode=0
FailoverPreconnect=0
FetchTSWTZasTimestamp=0
FetchTWFSasTime=1
GSSClient=native
HostName=&amp;lt;SQL_Server_host&amp;gt;
HostNameInCertificate=
#IANAAppCodePage=
InitializationString=
KeepAlive=0
Language=
LoadBalanceTimeout=0
LoadBalancing=0
LoginTimeout=15
LogonID=
MaxPoolSize=100
MinPoolSize=0
MultiSubnetFailover=0
PacketSize=-1
Pooling=0
PortNumber=&amp;lt;SQL_Server_server_port&amp;gt;
PRNGSeedFile=/dev/random
PRNGSeedSource=0
ProxyHost=
ProxyMode=0
ProxyPassword=
ProxyPort=
ProxyUser=
QueryTimeout=0
ReportCodepageConversionErrors=0
SnapshotSerializable=0
TrustStore=
TrustStorePassword=
ValidateServerCertificate=1
WorkStationID=
XMLDescribeType=-10
SSLLibName=/usr/lib64/libssl.so.10
CryptoLibName=/usr/lib64/libcrypto.so.10&lt;/PRE&gt;
&lt;P&gt;2.&amp;nbsp;In Azure portal for SQL server, make sql db accesible to all azure services as shown below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="priyhat_sas_1-1711747025375.png" style="width: 602px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95034iCEC3824D4134D43B/image-dimensions/602x313?v=v2" width="602" height="313" role="button" title="priyhat_sas_1-1711747025375.png" alt="priyhat_sas_1-1711747025375.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Make sure there is a sql database exists in the SQL server created, else create a new database.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="priyhat_sas_2-1711747328172.png" style="width: 574px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95035i9B3B0C3CFF434CFB/image-dimensions/574x89?v=v2" width="574" height="89" role="button" title="priyhat_sas_2-1711747328172.png" alt="priyhat_sas_2-1711747328172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. In the libname statement, use these options:&lt;/P&gt;
&lt;P&gt;SSLLibName=/usr/lib64/libssl.so.1.1;&lt;BR /&gt;CryptoLibName=/usr/lib64/libcrypto.so.1.1;&lt;/P&gt;
&lt;PRE&gt;libname paygsql sqlsvr noprompt="DRIVER=SAS ACCESS to MS SQL Server;
HOST=mysqlserver.database.windows.net;
PORT=1433;
database=sqlsdbname;
UID=user;
PWD=pwd;
SSLLibName=/usr/lib64/libssl.so.1.1;
CryptoLibName=/usr/lib64/libcrypto.so.1.1;";
&lt;/PRE&gt;
&lt;P&gt;With these steps, the connection to Azure SQL server is successful. Please let us know if you have further questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 21:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya-Pay-As-You-Go/Connect-SAS-Viya-Pay-as-you-go-to-Azure-SQL-Server/m-p/922313#M224</guid>
      <dc:creator>priyhat_sas</dc:creator>
      <dc:date>2024-03-29T21:23:26Z</dc:date>
    </item>
  </channel>
</rss>

