<?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 connecting to MySQL from Visual Analytics in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/321555#M6069</link>
    <description>&lt;P&gt;This is fixed now. I modified the odbcisnt.ini and odbc.ini files at&amp;nbsp;etc and /opt/sas/SASHome/SASODBCDriversfortheWebInfrastructurePlatformDataServer/9.4/Driver . Also, added envionment variables in file sasenv_local .&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2016 09:02:26 GMT</pubDate>
    <dc:creator>avinashaecwb</dc:creator>
    <dc:date>2016-12-29T09:02:26Z</dc:date>
    <item>
      <title>Error connecting to MySQL from Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/319872#M6030</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have SAS/ACCESS ODBC licence through which I am trying to connect to MySQL database. name of the database is "repairsdb". I have below entry created in my obbc.ini file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[SOLVUP]&lt;BR /&gt;Driver = OracleODBC-10g&lt;BR /&gt;Server = 10.1.8.138&lt;BR /&gt;DATABASE = repairsdb&lt;BR /&gt;Port = 3306&lt;BR /&gt;UID = repairsdbuser&lt;BR /&gt;Password = repairspw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to create a access it using LIBNAME statement with dsn=SOLVUP User=&lt;SPAN&gt; repairsdbuser pwd =repairspw, it throws error "do not have access rights to repairsdbuser@localhost"(PASSWORD USE =YES).&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If i remove the Pwd parameter, LIBNAME is successfully assigned but when I try to access any table in data set, I get an error "no database selected" .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please suggest how to make a successful connection ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Avinash&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 11:43:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/319872#M6030</guid>
      <dc:creator>avinashaecwb</dc:creator>
      <dc:date>2016-12-19T11:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting to MySQL from Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/319890#M6031</link>
      <description>&lt;P&gt;first of all,&lt;/P&gt;&lt;P&gt;this line "&amp;nbsp;&lt;STRONG&gt;Driver = OracleODBC-10g"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;confusing me in odbc.ini file,&lt;/P&gt;&lt;P&gt;are you sure you have configured&amp;nbsp;proper driver information in odbcinst.ini and odbc.ini files ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;because for MySQL driver, you have mentioned OracleODBC-10g.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 12:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/319890#M6031</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2016-12-19T12:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting to MySQL from Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/319980#M6032</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/71754"&gt;@Kalind_Patel&lt;/a&gt;&amp;nbsp;Hi.. that was when I was trying different solutions. I also tried keeping Driver = MySQL . it still gavce same errors.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 18:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/319980#M6032</guid>
      <dc:creator>avinashaecwb</dc:creator>
      <dc:date>2016-12-19T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting to MySQL from Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/320095#M6035</link>
      <description>&lt;P&gt;thanks for the clarification,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like that you need some additional permission from MySQL database,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try to connect with mysql command in linux,&lt;/P&gt;&lt;P&gt;I'm sure it will give you the same error,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In MySQL,&lt;/P&gt;&lt;P&gt;try to tun this command :&lt;/P&gt;&lt;PRE class="lang-sql prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;SHOW GRANTS &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="str"&gt;'&lt;SPAN&gt;repairsdbuser&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;@&lt;/SPAN&gt;&lt;SPAN class="str"&gt;'localhost'&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and check what permission you are missing,&lt;/P&gt;&lt;P&gt;Sometimes we have to additionaly grant privilages to users like &lt;STRONG&gt;&lt;SPAN class="str"&gt;repairsdbuser&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;@&lt;/SPAN&gt;&lt;SPAN class="str"&gt;localhost&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your MySQL DBA can&amp;nbsp;help you on this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 05:25:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/320095#M6035</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2016-12-20T05:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting to MySQL from Visual Analytics</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/321555#M6069</link>
      <description>&lt;P&gt;This is fixed now. I modified the odbcisnt.ini and odbc.ini files at&amp;nbsp;etc and /opt/sas/SASHome/SASODBCDriversfortheWebInfrastructurePlatformDataServer/9.4/Driver . Also, added envionment variables in file sasenv_local .&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 09:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Error-connecting-to-MySQL-from-Visual-Analytics/m-p/321555#M6069</guid>
      <dc:creator>avinashaecwb</dc:creator>
      <dc:date>2016-12-29T09:02:26Z</dc:date>
    </item>
  </channel>
</rss>

