LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   mysql - mysql_install_db (error) (http://www.linuxquestions.org/questions/linux-server-73/mysql-mysql_install_db-error-660390/)

n0p.cracker 08-04-2008 12:19 PM

mysql - mysql_install_db (error)
 
ok, I was reading this "tutorial" http://milhous.no-ip.com:15980/blog/...-slackware-11/

and on first step i failed :D

here is the output:

Code:

- /etc - : mysql_install_db
Installing MySQL system tables...
ERROR: 1062  Duplicate entry 'localhost-' for key 1
080804 19:15:08 [ERROR] Aborting

080804 19:15:08 [Note] /usr/libexec/mysqld: Shutdown complete

Installation of system tables failed!

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

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

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /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 /usr/bin/mysqlbug script!

I'm running slackware 12.1, and i have installed mysql from slackware package, thx in advance

n0p.cracker 08-04-2008 12:23 PM

ok it was stupid mistake, my sistem was called localhost too :D

btw, sry for my english


All times are GMT -5. The time now is 07:22 PM.