Operating System - HP-UX
1752866 Members
3966 Online
108791 Solutions
New Discussion

Re: problems when configuring mysql-3.23.53 on HP-UX11.11

 
yue
Occasional Advisor

problems when configuring mysql-3.23.53 on HP-UX11.11

Hi,my friends,i meet a problem when configuring mysql-3.23.53 on HP-UX11.11

I executed the configure command as follows:
"./configure --prefix=/usr/local/mysql",but the following errors occured:

# ./configure --prefix=/usr/mysql
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables
021129 10:59:51 ./bin/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h HL165web password 'new-password'
See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd . ; ./bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
# Starting mysqld daemon with databases from /usr/hit_src/hp_ux/mysql-max-3.23.5
3-hp-hpux11.00-hppa2.0n/data
021129 10:59:52 mysqld ended


# ls
COPYING bin man scripts
COPYING.LIB configure manual.html share
ChangeLog data manual.txt sql-bench
INSTALL-BINARY include manual_toc.html support-files
README lib mysql-test tests
# cd bin
# ls
comp_err mysqlbug
isamchk mysqlcheck
msql2mysql mysqld
my_print_defaults mysqld_multi
myisamchk mysqldump
myisampack mysqldumpslow
mysql mysqlhotcopy
mysql_config mysqlimport
mysql_convert_table_format mysqlshow
mysql_find_rows mysqltest
mysql_fix_privilege_tables pack_isam
mysql_setpermission perror
mysql_zap replace
mysqlaccess resolve_stack_dump
mysqlaccess.conf resolveip
mysqladmin safe_mysqld
mysqlbinlog
# ./safe_mysqld --CDDD
./safe_mysqld[129]: my_print_defaults: not found.
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/safe_mysqld.
# ./safa_mysqld
sh: ./safa_mysqld: not found.
# ./safe_mysqld
./safe_mysqld[129]: my_print_defaults: not found.
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/safe_mysqld.
# cd ..
# ./bin/safe_mysqld
Starting mysqld daemon with databases from /usr/hit_src/hp_ux/mysql-max-3.23.53-
hp-hpux11.00-hppa2.0n/data
021129 11:07:11 mysqld ended

Anyone can help me?

Any help will be appreciated.

thanks!

1 REPLY 1
Karvendhan M
Frequent Advisor

Re: problems when configuring mysql-3.23.53 on HP-UX11.11


You need to create an user and group named mysql and fix some permissions. You may need to create the initial mysql db also.


All the reqd steps are explained in INSTALL-BINARY and README files.

~ Kars