<?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 connecting issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677401#M204329</link>
    <description>&lt;P&gt;Looks as if the mysql engine is not installed. proc product_status show the installed modules, so execute:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and have a look at the log.&lt;/P&gt;
&lt;P&gt;In further posts ALWAYS post the log as text using the "Insert Code"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 06:07:26 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2020-08-18T06:07:26Z</dc:date>
    <item>
      <title>MySQL connecting issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677391#M204323</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;Good Morning&amp;nbsp;&lt;/P&gt;&lt;P&gt;please fix following error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anandkvn_0-1597729264704.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48360i20BD11BE8CF48DE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anandkvn_0-1597729264704.png" alt="Anandkvn_0-1597729264704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/*Here I want to connect MySQL database in sas9.4 */

proc sql;
connect to mysql as dbcon
(user=root password=root server=mysql
database=mysqldb port=9876);
quit;

/*This example connects to MySQL and sends it two EXECUTE statements to process:*/

proc sql;
   connect to mysql (user=myusr1 password=mypwd1 server=mysrv1
        database=mysqldb port=9876);
   execute (create table whotookorders as
      select ordernum, takenby,
             firstname, lastname, phone
         from orders, employees
         where orders.takenby=employees.empid)
      by mysql;
   execute (grant select on whotookorders
            to myusr1) by mysql;
   disconnect from mysql;
quit;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Aug 2020 05:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677391#M204323</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-08-18T05:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL connecting issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677401#M204329</link>
      <description>&lt;P&gt;Looks as if the mysql engine is not installed. proc product_status show the installed modules, so execute:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and have a look at the log.&lt;/P&gt;
&lt;P&gt;In further posts ALWAYS post the log as text using the "Insert Code"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 06:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677401#M204329</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-08-18T06:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL connecting issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677406#M204332</link>
      <description>&lt;P&gt;It seems that you do not have SAS/Access for MySQL installed. Apart from installing it, there is also the possibility of setting up an ODBC connection to the database and use that - if you have SAS/Access for ODBC, of course. If you do have it, the ODBC option may save you some license money.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 06:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MySQL-connecting-issue/m-p/677406#M204332</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2020-08-18T06:24:38Z</dc:date>
    </item>
  </channel>
</rss>

