LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 08-04-2008, 01:19 PM   #1
n0p.cracker
Member
 
Registered: May 2008
Location: Croatia
Distribution: slackware 12.1
Posts: 39

Rep: Reputation: 15
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

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
 
Old 08-04-2008, 01:23 PM   #2
n0p.cracker
Member
 
Registered: May 2008
Location: Croatia
Distribution: slackware 12.1
Posts: 39

Original Poster
Rep: Reputation: 15
ok it was stupid mistake, my sistem was called localhost too

btw, sry for my english
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 04:35 PM
mysql mysql_install_db problems xrado Slackware 3 05-09-2006 02:10 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
mysql_install_db hus Linux - Newbie 1 05-11-2005 01:33 AM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration