<?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: Creating Libnames from MYSQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100768#M21082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;query(1)i am having different schemas in a data base (Database name is Mainsd)in mysql the schemas are like sd1,sd2,sd3,sd4 i want to use the tables in&lt;BR /&gt;sas,my first question is i should create different libnames to each schemas how should i create the libnames&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) I want to connect to another database the name of database is Tempsd and this does not have the schemas how can i connect to it by libname&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Dec 2012 06:58:56 GMT</pubDate>
    <dc:creator>sas_Forum</dc:creator>
    <dc:date>2012-12-15T06:58:56Z</dc:date>
    <item>
      <title>Creating Libnames from MYSQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100767#M21081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;query(1)i am having different schemas in a data base (Database name is Mainsd)in mysql the schemas are like sd1,sd2,sd3,sd4 i want to use the tables in&lt;BR /&gt;sas,my first question is i should create different libnames to each schemas how should i create the libnames&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2012 06:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100767#M21081</guid>
      <dc:creator>sas_Forum</dc:creator>
      <dc:date>2012-12-15T06:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Libnames from MYSQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100768#M21082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;query(1)i am having different schemas in a data base (Database name is Mainsd)in mysql the schemas are like sd1,sd2,sd3,sd4 i want to use the tables in&lt;BR /&gt;sas,my first question is i should create different libnames to each schemas how should i create the libnames&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) I want to connect to another database the name of database is Tempsd and this does not have the schemas how can i connect to it by libname&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2012 06:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100768#M21082</guid>
      <dc:creator>sas_Forum</dc:creator>
      <dc:date>2012-12-15T06:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Libnames from MYSQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100769#M21083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To, question 1, you can create separate libnames for each schema.&amp;nbsp; The syntax is in the manual.&amp;nbsp; You could also use a passthru query to put the processing burden on the mysql server.&amp;nbsp; Ditto for syntax.&amp;nbsp; (I don't use mysql, so you can look up the syntax as easily as I can.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often find it easier to use an interactive tool to connect to the database and get the shells together (I like advanced query tool, but there are lots) and then copy the final product into my SAS passthru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 18:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-Libnames-from-MYSQL/m-p/100769#M21083</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-12-18T18:56:34Z</dc:date>
    </item>
  </channel>
</rss>

