<?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: Error creating connection to MySQL via ODB on Linux in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-creating-connection-to-MySQL-via-ODB-on-Linux/m-p/366886#M8970</link>
    <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18459"&gt;@max00d&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;This issue looks more like on the MySQL part on linux machine.&lt;BR /&gt;&lt;BR /&gt;can you check under MySQL Conf file on what is the exact path of the socket is mentioned?&lt;BR /&gt;&lt;BR /&gt;is it - '/var/lib/mysql/mysql.sock' or '/var/lib/mysql/mysqld.sock'&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;AV</description>
    <pubDate>Wed, 14 Jun 2017 09:42:03 GMT</pubDate>
    <dc:creator>AnandVyas</dc:creator>
    <dc:date>2017-06-14T09:42:03Z</dc:date>
    <item>
      <title>Error creating connection to MySQL via ODB on Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-creating-connection-to-MySQL-via-ODB-on-Linux/m-p/366879#M8969</link>
      <description>&lt;P&gt;I've been trying to create a connection to a MySQL RDS on a SAS platform hosted on linux. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now let me first say I can connect to said MySQL on a windows SAS platform. &amp;nbsp;I simply create the ODBC connection in the OS and then create a library using the dsn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the linux platform I am getting the error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: CLI error trying to establish connection: [unixODBC][MySQL][ODBC 5.2(w) Driver]Can't connect to local MySQL server through &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt; socket '/var/lib/mysql/mysql.sock' (2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because this on a linux machine I havent set the dsn in the ODBC.ini file. &amp;nbsp;But have been in touch with the admin to try various configurations like using the IP or the full dns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, the MySQL DB is available via other software in the linux environment.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Has anyone encountered this, and more to the point solved it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 08:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-creating-connection-to-MySQL-via-ODB-on-Linux/m-p/366879#M8969</guid>
      <dc:creator>max00d</dc:creator>
      <dc:date>2017-06-14T08:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating connection to MySQL via ODB on Linux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-creating-connection-to-MySQL-via-ODB-on-Linux/m-p/366886#M8970</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18459"&gt;@max00d&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;This issue looks more like on the MySQL part on linux machine.&lt;BR /&gt;&lt;BR /&gt;can you check under MySQL Conf file on what is the exact path of the socket is mentioned?&lt;BR /&gt;&lt;BR /&gt;is it - '/var/lib/mysql/mysql.sock' or '/var/lib/mysql/mysqld.sock'&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;AV</description>
      <pubDate>Wed, 14 Jun 2017 09:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-creating-connection-to-MySQL-via-ODB-on-Linux/m-p/366886#M8970</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2017-06-14T09:42:03Z</dc:date>
    </item>
  </channel>
</rss>

