<?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 my mysql to SAS using ODBC in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/790872#M32548</link>
    <description>&lt;P&gt;First, I don't you can use a SQL Server driver to access MySQL, you need a specific driver for that.&lt;/P&gt;
&lt;P&gt;Second, are you sure the rest of the parameters are correct, is your MySQL database really called mysql?&lt;/P&gt;
&lt;P&gt;Third, you should never use root password for this kind of work, should be exclusive for server maintenece personnel only.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 12:48:29 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-01-19T12:48:29Z</dc:date>
    <item>
      <title>Connect my mysql to SAS using ODBC</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/790822#M32546</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;My office just installed SAS Viya 3.5 last November and my team leader ask me to connect the database to SAS.&lt;/P&gt;&lt;P&gt;The database is in MySQL format, and our SAS doesn't have data connector for MySQL, instead, we have ODBC connector. I've tried the solution from this post below, and still doesn't work.&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/td-p/471985" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Suggest-me-the-Connectivity-code-for-SQL-in-SAS/td-p/471985&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is the code that I use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Libname New_lib ODBC
NoPrompt="Driver=SQL Server;Server=10.15.36.146;
Database=mysql;Uid=root;pwd=********"; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And the error that showed up:&lt;/P&gt;&lt;DIV class=""&gt;ERROR: CLI error trying to establish connection: [unixODBC][Driver Manager]Can't open lib 'SQL Server' : file not found&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;&lt;BR /&gt;I suspect that I need to install this connector&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A href="https://dev.mysql.com/downloads/connector/odbc/" target="_blank" rel="noopener"&gt;https://dev.mysql.com/downloads/connector/odbc/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;But maybe is there any other way to connect the database without installing that? I don't have access to the server-side of SAS Viya and I'm not familiar with Linux too.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks in advance.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 07:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/790822#M32546</guid>
      <dc:creator>adilar39</dc:creator>
      <dc:date>2022-01-19T07:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connect my mysql to SAS using ODBC</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/790872#M32548</link>
      <description>&lt;P&gt;First, I don't you can use a SQL Server driver to access MySQL, you need a specific driver for that.&lt;/P&gt;
&lt;P&gt;Second, are you sure the rest of the parameters are correct, is your MySQL database really called mysql?&lt;/P&gt;
&lt;P&gt;Third, you should never use root password for this kind of work, should be exclusive for server maintenece personnel only.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/790872#M32548</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-01-19T12:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connect my mysql to SAS using ODBC</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/791129#M32575</link>
      <description>&lt;P&gt;Your question is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;I suspect that I need to install this connector&amp;nbsp;&lt;A href="https://dev.mysql.com/downloads/connector/odbc/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://dev.mysql.com/downloads/connector/odbc/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV class=""&gt;&lt;STRONG&gt;But maybe is there any other way to connect the daabase without installing that? I don't have access to the server-side of SAS Viya and I'm not familiar with Linux too&lt;/STRONG&gt;. "&lt;/DIV&gt;
&lt;DIV class=""&gt;Well you need to install the SAS Access interface to ODBC &lt;STRONG&gt;or&lt;/STRONG&gt; SAS Access interface to MySQL. Both are licensed products.&lt;/DIV&gt;
&lt;DIV class=""&gt;SAS Access interface to ODBC helps you to connect to more databases, but will require little more configuration.&lt;/DIV&gt;
&lt;DIV class=""&gt;You can have more details here&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/titlepage.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/titlepage.htm&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Jan 2022 12:38:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/791129#M32575</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-01-20T12:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connect my mysql to SAS using ODBC</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/791782#M32629</link>
      <description>For the first point, I thought from the post that I linked in the question, "SQL Server" is only the default name in the installation, so I just used the same. But of course, it didn't work.&lt;BR /&gt;The second point, yes, the database is named mysql, but it only contains dummy data. I just want to see if I can connect it to SAS.&lt;BR /&gt;The third point, that's the id and password that was given to me.&lt;BR /&gt;&lt;BR /&gt;Thank you for answering my question. But it looks like I'm the one whos confused with the job that was given to me.&lt;BR /&gt;I already found another way from this paper:&lt;BR /&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4209-2020.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4209-2020.pdf&lt;/A&gt;</description>
      <pubDate>Mon, 24 Jan 2022 08:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/791782#M32629</guid>
      <dc:creator>adilar39</dc:creator>
      <dc:date>2022-01-24T08:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connect my mysql to SAS using ODBC</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/791785#M32630</link>
      <description>Our SAS have SAS Access interface to ODBC, and from the post that I linked in the question, it showed that you can use that interface to connect MySQL format database to connect it to SAS, but I still can't figure it out.&lt;BR /&gt;&lt;BR /&gt;I've read the documentation that you provided, and it's a bit complex for me.&lt;BR /&gt;&lt;BR /&gt;Thank you for answering my question. But it looks like I'm the one whos confused with the job that was given to me.&lt;BR /&gt;I already found another way from this paper:&lt;BR /&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4209-2020.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2020/4209-2020.pdf&lt;/A&gt;</description>
      <pubDate>Mon, 24 Jan 2022 08:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Connect-my-mysql-to-SAS-using-ODBC/m-p/791785#M32630</guid>
      <dc:creator>adilar39</dc:creator>
      <dc:date>2022-01-24T08:29:27Z</dc:date>
    </item>
  </channel>
</rss>

