If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Installing and starting Mysql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-29-04, 20:32
linuxnewb linuxnewb is offline
Registered User
 
Join Date: May 2004
Posts: 11
Installing and starting Mysql

I have installed (I think) MySQL 4.0 -- Production release on a rehat 9 machine. I am unable to start mysql. I have followed the readme file and get the following errors throughout the process:

When running scripts/mysql_install_db I receive the error:
cripts/mysql_install_db: line 1: ./bin/my_print_defaults: cannot execute binary file
scripts/mysql_install_db: line 1: /usr/bin/hostname: No such file or directory
WARNING: The host '' 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: line 1: ./bin/mysqld: cannot execute binary file
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
************************************************** *****
./bin/mysqld --skip-grant & states: " -bash: ./bin/mysqld: cannot execute binary file

[1]+ Exit 126 ./bin/mysqld --skip-grant"
************************************************** ***88
Other errors:


# cd mysql
# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/root/mysql.sock' (2)
./bin/mysqld --user=root
-bash: ./bin/mysqld: cannot execute binary file
[root@meepmeep mysql]# ./bin/mysql --user=mysql
-bash: ./bin/mysql: cannot execute binary file


ANY IDEAS????!!!?!?!?!?!?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On