<?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 msyql  - scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/msyql-scripting/m-p/4720660#M660372</link>
    <description>Hi there&lt;BR /&gt;&lt;BR /&gt;I want to do this from a script:&lt;BR /&gt;&lt;BR /&gt;mysql -u root&lt;BR /&gt;GRANT ALL ON *.* TO 'xxx'@'localhost'IDENTIFIED BY 'xxx';&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I just stick "mysql -u root" inside a script then it opens mysql and wait's for user interaction. I need to grant the permissions for a certain user and move to other commands.&lt;BR /&gt;&lt;BR /&gt;Reagrds</description>
    <pubDate>Thu, 02 Dec 2010 04:00:12 GMT</pubDate>
    <dc:creator>Piotr Kirklewski</dc:creator>
    <dc:date>2010-12-02T04:00:12Z</dc:date>
    <item>
      <title>msyql  - scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msyql-scripting/m-p/4720660#M660372</link>
      <description>Hi there&lt;BR /&gt;&lt;BR /&gt;I want to do this from a script:&lt;BR /&gt;&lt;BR /&gt;mysql -u root&lt;BR /&gt;GRANT ALL ON *.* TO 'xxx'@'localhost'IDENTIFIED BY 'xxx';&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I just stick "mysql -u root" inside a script then it opens mysql and wait's for user interaction. I need to grant the permissions for a certain user and move to other commands.&lt;BR /&gt;&lt;BR /&gt;Reagrds</description>
      <pubDate>Thu, 02 Dec 2010 04:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msyql-scripting/m-p/4720660#M660372</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2010-12-02T04:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: msyql  - scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msyql-scripting/m-p/4720661#M660373</link>
      <description>The construct you are looking for is something like this :&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;other commands here&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;mysql -u root &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;GRANT ALL ON *.* TO 'xxx'@'localhost'IDENTIFIED BY 'xxx';&lt;BR /&gt;quit;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;more commands here&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;hope this helps</description>
      <pubDate>Thu, 02 Dec 2010 06:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msyql-scripting/m-p/4720661#M660373</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2010-12-02T06:56:09Z</dc:date>
    </item>
  </channel>
</rss>

