Лог установки:
[root@myhost bin]# ./mysql_install_db
WARNING: The host 'myhost' 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...
ERROR: 1049 Unknown database 'mysql'
091013 18:45:29 [ERROR] Aborting
091013 18:45:29 [Note] /usr/local/libexec/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /usr/local/var for more information.
You can try to start the mysqld daemon with:
/usr/local/libexec/mysqld --skip-grant &
and use the command line tool
/usr/local/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/local/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/var 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 /usr/local/bin/mysqlbug script!