- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problems when testing mysql daemon
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 05:35 AM
тАО01-18-2005 05:35 AM
bin/mysql Ver 11.15 Distrib 3.23.42, for hp-hpux11.00 (hppa2.0n).
The installation log at /opt/mysql/MySQLInstall.log tells me I can test the mysql daemon. I tested, using:
#cd /opt/mysql
#/opt/mysql/bin/safe_mysqld &
#cd sql-bench
#exec run-all-tests
and I had a slew of errors, mostly of the type:
/usr/bin/sh: Syntax error at line 1 : `{' is not matched.
/usr/bin/sh: =: not found.
/usr/bin/sh: Syntax error at line 1 : `}' is not expected.
/usr/bin/sh: Syntax error at line 1 : `}' is not expected.
/usr/bin/sh: Syntax error at line 1 : `(' is not expected.
/usr/bin/sh: Syntax error at line 1 : `}' is not expected.
Please help.
Thanks,
Carol.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 06:45 AM
тАО01-18-2005 06:45 AM
Re: problems when testing mysql daemon
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 06:58 AM
тАО01-18-2005 06:58 AM
Re: problems when testing mysql daemon
Thanks,
Carol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 07:32 AM
тАО01-18-2005 07:32 AM
Re: problems when testing mysql daemon
sh -x /opt/mysql/sql-bench/run-all-tests
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 08:02 AM
тАО01-18-2005 08:02 AM
Re: problems when testing mysql daemon
This is what I got...
#sh -x /opt/mysql/sql-bench/run-all-tests
+ use DBI
/opt/mysql/sql-bench/run-all-tests[36]: use: not found.
+ =1
/opt/mysql/sql-bench/run-all-tests[38]: =1: not found.
+ @ORG_ARGV=@ARGV
/opt/mysql/sql-bench/run-all-tests[40]: @ORG_ARGV=@ARGV: not found.
/opt/mysql/sql-bench/run-all-tests[41]: Syntax error at line 41 : `(' is not exp
ected.
I'm lost. I assume there must be some configuration issue that I'm unaware of, but HP pre-configured it.
Thanks for your help.
Carol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 08:45 AM
тАО01-18-2005 08:45 AM
Re: problems when testing mysql daemon
Try uploading or writing some sql and running it interactively.
If it works, its the issue at hand is the sql script itself. Whats on line 41 or 40?
If normal sql that you know works elsewhere(mysql) does not work then you are correct its a configuration issue.
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.
Good Luck,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2005 09:05 AM
тАО01-18-2005 09:05 AM
Re: problems when testing mysql daemon
#mysql
/usr/bin/sh: mysql: not found.
and I've just realized from the documentation that this is not supposed to happen:
#/opt/mysql/bin/safe_mysqld &
#Starting mysqld daemon with databases from /opt/mysql/var
050118 14:08:06 mysqld ended
There's supposed to be a mysql-data-directory file which I cannot find...
Thanks,
Carol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2005 09:30 AM
тАО01-19-2005 09:30 AM
SolutionSince 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:
/opt/mysql/bin/mysql_install_db
otherwise you will have to dig for it. :)
-paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2005 09:32 AM
тАО01-19-2005 09:32 AM
Re: problems when testing mysql daemon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2005 10:09 AM
тАО01-19-2005 10:09 AM
Re: problems when testing mysql daemon
I'm not able to Create a Database. I get:
mysql> create database recovreimb;
ERROR 1044: Access denied for user: '@localhost' to database 'recovreimb'
I assume this is an authorization issue. Do I create a user and assign all authorities to get around this?
Thanks for your help!
Carol.