mysql컴파일 다한후 mysql_install_db 명령어를 쳤더니 에러가....
centos5.4쓰고 있으며 mysql5.0.51설치중에 에러 났습니다. 이것때문에 6시간째 삽질중... 도와주세요.
[root@localhost bin]# ./mysql_install_db
Installing MySQL system tables...
ERROR: 1062 Duplicate entry 'localhost-' for key 1
091118 21:54:15 [ERROR] Aborting
091118 21:54:15 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /usr/local/mysql/data for more information.
You can try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant &
and use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/local/mysql/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/mysql/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 /usr/local/mysql/bin/mysqlbug script!
[root@localhost bin]#
[root@localhost bin]# t2klwedfk
-bash: t2klwedfk: command not found
[root@localhost bin]# |