Mysql sous gentoo

Résolu/Fermé
developper_man Messages postés 44 Date d'inscription mardi 21 octobre 2008 Statut Membre Dernière intervention 14 novembre 2008 - 23 oct. 2008 à 10:52
gregool Messages postés 667 Date d'inscription jeudi 25 janvier 2007 Statut Membre Dernière intervention 8 janvier 2010 - 23 oct. 2008 à 11:25
Bonjour,
j'ai installer gentoo 2008
j'ai télécharger mysql 5.0.67 ==> mysql-5.0.67-linux-i686.tar.gz

j'ai commencer étape par étape ce que le fichier refman-5.0-fr.a4.pdf (mysql 5.0 reference manual) nous dis pour l'installation de ce foutu SGBD
les tapes sont les suivantes :
groupadd mysql
useradd -g mysql mysql
cd /usr/local
gunzip < /root/soft/mysql-5.0.67-linux-i686.tar.gz | tar xvf -
ln -s /usr/local/mysql-5.0.67-linux-i686 mysql
cd mysql
scripts/mysql_install_db
chown -R root .
chown -R mysql data
chgrp -R mysql .
bin/mysqld_safe --user=mysql &

et quand j'arrive à la commande == >scripts/mysql_install_db
il me sort une erreur ==> Installation of system tables failed!


voila tout ce que cette commande me sort comme erreur :

Installing MySQL system tables...
081023 6:45:45 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
ERROR: 1062 Duplicate entry 'localhost-' for key 1
081023 6:45:45 [ERROR] Aborting

081023 6:45:45 [Note] ./bin/mysqld: Shutdown complete

Installation of system tables failed!

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

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

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
https://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 ./bin/mysqlbug script!

5 réponses

gregool Messages postés 667 Date d'inscription jeudi 25 janvier 2007 Statut Membre Dernière intervention 8 janvier 2010 112
23 oct. 2008 à 11:07
decidement ça veut pas sourire MySQL pour toi...

tu peux poster le contenu de /etc/conf.d/hostname ?
2
gregool Messages postés 667 Date d'inscription jeudi 25 janvier 2007 Statut Membre Dernière intervention 8 janvier 2010 112
23 oct. 2008 à 11:25
ok lol

bon courage pour la suite sous gentoo !
2
developper_man Messages postés 44 Date d'inscription mardi 21 octobre 2008 Statut Membre Dernière intervention 14 novembre 2008 5
23 oct. 2008 à 11:10
et oui :( ça fé 2 jours que je me ba pour mysql :(

localhost ~ # cat /etc/conf.d/hostname
#HOSTNAME="livecd"
HOSTNAME="localhost"
localhost ~ #
1
developper_man Messages postés 44 Date d'inscription mardi 21 octobre 2008 Statut Membre Dernière intervention 14 novembre 2008 5
23 oct. 2008 à 11:22
merci mon ami
tu me sauve la vie, tu ne sais pas à quel point.
1

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
gregool Messages postés 667 Date d'inscription jeudi 25 janvier 2007 Statut Membre Dernière intervention 8 janvier 2010 112
23 oct. 2008 à 11:16
change ton hostname, et relance la compil.
0