PDA

Bekijk de volledige versie : mysql install problems



doliam
02-05-2007, 17:26
has anyone dealt with this error before?


Configuring mysql
/opt/bin/mysql_install_db: line 152: /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 all prepared tables
input line too long/opt/bin/mysql_install_db: line 218: 11210 Segmentation fault
/opt/libexec/mysqld --bootstrap --skip-grant-tables --basedir=/opt --datad
ir=/opt/var/lib/mysql --skip-innodb --skip-bdb --skip-ndbcluster --user=root --m
ax_allowed_packet=8M --net_buffer_length=16K

Installation of system tables failed!

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

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

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /opt/var/lib/mysql 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 /opt/bin/mysqlbug script!
syntax error
postinst script returned status 255
ERROR: mysql.postinst returned 255
Nothing to be done
Successfully terminated.