MySQL Forums
Forum List  »  Install & Repo

./mysql_install_db: line 219: /bin/hostname: No such file or directory WARNING: The host '' could not be looked up with resolveip.
Posted by: belen Luna
Date: February 17, 2011 03:37PM

error when typing ./mysql_install_db


/private/var/root/mysql$ cd bin
/private/var/root/mysql/bin$ ./mysql_install_db
./mysql_install_db: line 219: /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 daemon, 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 !
Installing MySQL system tables...
OK
Filling help tables...
OK
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 !
To do so, start the server, then issue the following commands:
/var/root/mysql//bin/mysqladmin -u root password 'new-password'
/var/root/mysql//bin/mysqladmin -u root -h password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /var/root/mysql/ ; /var/root/mysql//bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /var/root/mysql//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 http://shop.mysql.com

plzz someone help me !! be my hero.

Options: ReplyQuote


Subject
Written By
Posted
./mysql_install_db: line 219: /bin/hostname: No such file or directory WARNING: The host '' could not be looked up with resolveip.
February 17, 2011 03:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.