469,943 Members | 2,741 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,943 developers. It's quick & easy.

mysql installation problem

Hi,
I am trying to install myql on redhat.
mysql package used: mysql-3.23.52-unknown-freebsdelf4.6-i386.tar.gz

While following the instructions in install document..when i run the
follwing command..
scripts/mysql_install_db

following errors appear:
-------------
scripts/mysql_install_db: ./bin/my_print_defaults: /usr/libexec/ld-elf.so.1:
bad ELF interpreter: No such file or directory
WARNING: The host 'njsupport.niksun.com' could not be looked up with
resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL deamon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
scripts/mysql_install_db: ./bin/mysqld: /usr/libexec/ld-elf.so.1: bad ELF
interpreter: No such file or directory
Installation of grant tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
../bin/mysqld --skip-grant &
You can use the command line tool
../bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running
mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
--------------
As i am new bie to mysql ..please tell how can i make mysql work.

Thanks and Regards
Anil.
p.s.(Can i get precomplied package (.tgz) to which i can directly pkg_add?).


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 2084

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Kerry Shetline | last post: by
reply views Thread by Chris Moy | last post: by
5 posts views Thread by Frances | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.