<?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: mysql access in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153113#M2637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Argh!&amp;nbsp; Can't believe it was that simple.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Mar 2014 00:10:37 GMT</pubDate>
    <dc:creator>nbirkett</dc:creator>
    <dc:date>2014-03-23T00:10:37Z</dc:date>
    <item>
      <title>mysql access</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153111#M2635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running SAS 9.4 under Parallels v9 on an iMac with Lion as the OS.&amp;nbsp; I am trying to access a mysql database on a remote server.&amp;nbsp; I can't get SAS to connect to the server.&lt;/P&gt;&lt;P&gt;1. SAS can access a mysql database set-up on a local server running in Parallels (set-up using WAMP).&amp;nbsp; SO, the basic code is OK and SAS has the capability to access mysql.&lt;/P&gt;&lt;P&gt;2. I can access the remote mysql database from my iMac using SEQUEL PRO.&amp;nbsp; So, I know that the configuration/IP address/Port is OK and that I have permission to get remote access to the database on the server.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; SAS can access neither the mysql database on the remote server nor one which I set-up on my iMac using MAMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the ports and they are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My SAS code is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mysqll2 mysql &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; user=njb1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; password=password&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; database=njb1 &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; server='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://xxx.xxx.xxx.xxx"&gt;http://xxx.xxx.xxx.xxx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port=3306&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message that is posted in my log file is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Error trying to establish connection: Unknown MySQL server host '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://xxx.xxx.xxx.xxx"&gt;http://xxx.xxx.xxx.xxx&lt;/A&gt;&lt;SPAN&gt;' (2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've googled, and read the relevant SAS manuals but nothing seems to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone been able to connect to a remote server in this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Mar 2014 22:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153111#M2635</guid>
      <dc:creator>nbirkett</dc:creator>
      <dc:date>2014-03-22T22:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: mysql access</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153112#M2636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Take away the "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;" from the server name, this should help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Mar 2014 22:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153112#M2636</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2014-03-22T22:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: mysql access</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153113#M2637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Argh!&amp;nbsp; Can't believe it was that simple.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 00:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153113#M2637</guid>
      <dc:creator>nbirkett</dc:creator>
      <dc:date>2014-03-23T00:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: mysql access</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153114#M2638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for jumping in with such a quick resolution, Bruno! Nbirkett, sometimes the small adjustments make a big difference in performance. Anna-Marie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 14:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/mysql-access/m-p/153114#M2638</guid>
      <dc:creator>anna_holland</dc:creator>
      <dc:date>2014-03-24T14:47:23Z</dc:date>
    </item>
  </channel>
</rss>

