I installed coolstack 1.3 fine. But when i ran mysql_install_db --user=mysql
It failed as follow. Any idea?
thanks
=========================================================
bash-3.00# /opt/coolstack/mysql_32bit/bin/mysql_install_db --user=mysql





bash-3.00# /opt/coolstack/mysql_32bit/bin/mysql_install_db --user=mysql
Installing MySQL system tables...
ERROR: 1062  Duplicate entry 'localhost-' for key 'PRIMARY'
081209 21:25:34 [ERROR] Aborting

081209 21:25:34 [Note] /opt/coolstack/mysql_32bit/bin/mysqld: Shutdown complete


Installation of system tables failed!  Examine the logs in
/opt/coolstack/mysql_32bit/data for more information.

You can try to start the mysqld daemon with:

    shell> /opt/coolstack/mysql_32bit/bin/mysqld --skip-grant &

and use the command line tool /opt/coolstack/mysql_32bit/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /opt/coolstack/mysql_32bit/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/coolstack/mysql_32bit/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 are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /opt/coolstack/mysql_32bit/bin/mysqlbug script!

bash-3.00#
-- 
This message posted from opensolaris.org

Reply via email to