<?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: problems when testing mysql daemon in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465718#M849032</link>
    <description>I guess that's possible, however, since it was delivered with the machine it's unlikely.  Do you know of some other way I can test it?  &lt;BR /&gt;Thanks,&lt;BR /&gt;Carol.</description>
    <pubDate>Tue, 18 Jan 2005 14:58:44 GMT</pubDate>
    <dc:creator>Carol Maley</dc:creator>
    <dc:date>2005-01-18T14:58:44Z</dc:date>
    <item>
      <title>problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465716#M849030</link>
      <description>I'm trying to get mysql up for the first time on an HP-UX machine. I'm using DL4term for access. It came pre-configured with mysql 3.23.42:&lt;BR /&gt;bin/mysql  Ver 11.15 Distrib 3.23.42, for hp-hpux11.00 (hppa2.0n).&lt;BR /&gt;&lt;BR /&gt;The installation log at /opt/mysql/MySQLInstall.log tells me I can test the mysql daemon.  I tested, using:&lt;BR /&gt;#cd /opt/mysql &lt;BR /&gt;#/opt/mysql/bin/safe_mysqld &amp;amp; &lt;BR /&gt;#cd sql-bench &lt;BR /&gt;#exec run-all-tests&lt;BR /&gt; &lt;BR /&gt;and I had a slew of errors, mostly of the type:&lt;BR /&gt;/usr/bin/sh: Syntax error at line 1 : `{' is not matched.&lt;BR /&gt;/usr/bin/sh: =:  not found.&lt;BR /&gt;/usr/bin/sh: Syntax error at line 1 : `}' is not expected.&lt;BR /&gt;/usr/bin/sh: Syntax error at line 1 : `}' is not expected.&lt;BR /&gt;/usr/bin/sh: Syntax error at line 1 : `(' is not expected.&lt;BR /&gt;/usr/bin/sh: Syntax error at line 1 : `}' is not expected.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks,&lt;BR /&gt;Carol.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2005 13:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465716#M849030</guid>
      <dc:creator>Carol Maley</dc:creator>
      <dc:date>2005-01-18T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465717#M849031</link>
      <description>I do not know how you got that script on the server but it may habe been corrupted in ftp transfer or simply been delivered with a syntax error.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 18 Jan 2005 14:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465717#M849031</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-18T14:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465718#M849032</link>
      <description>I guess that's possible, however, since it was delivered with the machine it's unlikely.  Do you know of some other way I can test it?  &lt;BR /&gt;Thanks,&lt;BR /&gt;Carol.</description>
      <pubDate>Tue, 18 Jan 2005 14:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465718#M849032</guid>
      <dc:creator>Carol Maley</dc:creator>
      <dc:date>2005-01-18T14:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465719#M849033</link>
      <description>maybe run the script in debug mode, you might find something really obvious...&lt;BR /&gt;&lt;BR /&gt;sh -x /opt/mysql/sql-bench/run-all-tests</description>
      <pubDate>Tue, 18 Jan 2005 15:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465719#M849033</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-01-18T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465720#M849034</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;This is what I got...&lt;BR /&gt;#sh -x /opt/mysql/sql-bench/run-all-tests&lt;BR /&gt;&lt;BR /&gt;+ use DBI&lt;BR /&gt;/opt/mysql/sql-bench/run-all-tests[36]: use:  not found.&lt;BR /&gt;+ =1&lt;BR /&gt;/opt/mysql/sql-bench/run-all-tests[38]: =1:  not found.&lt;BR /&gt;+ @ORG_ARGV=@ARGV&lt;BR /&gt;/opt/mysql/sql-bench/run-all-tests[40]: @ORG_ARGV=@ARGV:  not found.&lt;BR /&gt;/opt/mysql/sql-bench/run-all-tests[41]: Syntax error at line 41 : `(' is not exp&lt;BR /&gt;ected.&lt;BR /&gt;&lt;BR /&gt;I'm lost.  I assume there must be some configuration issue that I'm unaware of, but HP pre-configured it.  &lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Carol.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2005 16:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465720#M849034</guid>
      <dc:creator>Carol Maley</dc:creator>
      <dc:date>2005-01-18T16:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465721#M849035</link>
      <description>I tend to disagree with you.&lt;BR /&gt;&lt;BR /&gt;Try uploading or writing some sql and running it interactively.&lt;BR /&gt;&lt;BR /&gt;If it works, its the issue at hand is the sql script itself. Whats on line 41 or 40?&lt;BR /&gt;&lt;BR /&gt;If normal sql that you know works elsewhere(mysql) does not work  then you are correct its a configuration issue.&lt;BR /&gt;&lt;BR /&gt;HP pre-configured the system. They may have accidently changed the sql script while looking at it or copying code for some other use. Mistakes happen.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 18 Jan 2005 16:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465721#M849035</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-18T16:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465722#M849036</link>
      <description>Thanks Steve, however, I cannot mysql running - period. I get:&lt;BR /&gt;&lt;BR /&gt;#mysql&lt;BR /&gt;/usr/bin/sh: mysql:  not found.&lt;BR /&gt;and I've just realized from the documentation that this is not supposed to happen:&lt;BR /&gt;&lt;BR /&gt;#/opt/mysql/bin/safe_mysqld &amp;amp;&lt;BR /&gt;#Starting mysqld daemon with databases from /opt/mysql/var&lt;BR /&gt;                                                         050118 14:08:06  mysqld ended&lt;BR /&gt;&lt;BR /&gt;There's supposed to be a mysql-data-directory file which I cannot find...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Carol.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2005 17:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465722#M849036</guid>
      <dc:creator>Carol Maley</dc:creator>
      <dc:date>2005-01-18T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465723#M849037</link>
      <description>If it is true that you don't have a mysql data directory, it sounds to me like the install did not complete. When you install mysql there is an initial script called mysql_install_db that creates the data directory, the database privileges and the test database, among other things. &lt;BR /&gt;&lt;BR /&gt;Since I don't know how or where your copy of mysql was installed, I don't know where the mysql_install_db script is located, but given the above info, you will most likely find it here:&lt;BR /&gt;&lt;BR /&gt;/opt/mysql/bin/mysql_install_db&lt;BR /&gt;&lt;BR /&gt;otherwise you will have to dig for it. :)&lt;BR /&gt;&lt;BR /&gt;-paul</description>
      <pubDate>Wed, 19 Jan 2005 17:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465723#M849037</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-01-19T17:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465724#M849038</link>
      <description>PS: make sure you make a copy of your /opt/mysql directory first!</description>
      <pubDate>Wed, 19 Jan 2005 17:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465724#M849038</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-01-19T17:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465725#M849039</link>
      <description>Thanks everyone!  I can get into mysql now.  I have no idea why I could not earlier, and my run-all-tests is still failing, however I'm able to show databases; show tables; create table; and select;&lt;BR /&gt;&lt;BR /&gt;I'm not able to Create a Database.  I get:&lt;BR /&gt;&lt;BR /&gt;mysql&amp;gt; create database recovreimb;&lt;BR /&gt;ERROR 1044: Access denied for user: '@localhost' to database 'recovreimb'&lt;BR /&gt;I assume this is an authorization issue.  Do I create a user and assign all authorities to get around this?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;Carol.</description>
      <pubDate>Wed, 19 Jan 2005 18:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465725#M849039</guid>
      <dc:creator>Carol Maley</dc:creator>
      <dc:date>2005-01-19T18:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: problems when testing mysql daemon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465726#M849040</link>
      <description>hi carol,&lt;BR /&gt;&lt;BR /&gt;You have not logged in as a correct user. You will have to login mysql as the correct user with the correct password.&lt;BR /&gt;&lt;BR /&gt;alternatively, you may wish to create a user and do a "GRANT ALL" before trying the same operation.&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 20 Jan 2005 01:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-when-testing-mysql-daemon/m-p/3465726#M849040</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-01-20T01:25:55Z</dc:date>
    </item>
  </channel>
</rss>

