Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2903 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  Problème de start mysql

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème de start mysql

n°293197
redmail
Posté le 17-07-2003 à 21:48:58  profilanswer
 

Bonjour à tous.
 
Je voudrais lancer mysql installé avec les rpm des CDs Mandrake 9.1.
 
Si je lance /etc/init.d/mysql start , il me signale ceci :
 
Starting MySQL Server [ OK ]
 
Mais si je fais ensuite ps -ef |grep mysql , je n'ai aucun process mysql.
 
Et /etc/init.d/mysql status me retourne mysqld is stopped
 
J'ai également testé ceci :
 
/usr/sbin/mysqld
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
030716 11:26:50 Aborting
 
030716 11:26:50 /usr/sbin/mysqld: Shutdown Complete
 
 
Voici ce que je retrouve comme erreur dans
/var/lib/mysql/localhost.localdomain.err
 
030717 06:39:16 mysqld started
030717 6:39:16 Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
030717 6:39:16 Aborting
 
030717 6:39:16 /usr/sbin/mysqld: Shutdown Complete
 
030717 06:39:16 mysqld ended
 
 
 
Le fichier /var/lib/mysql/mysql/host.frm existe avec rw pour root.
 
 
Si quelqu'un pouvait m'aider...
 
Merci


Message édité par redmail le 17-07-2003 à 21:50:05
mood
Publicité
Posté le 17-07-2003 à 21:48:58  profilanswer
 

n°293455
Dark_Schne​ider
Close the World, Open the Net
Posté le 18-07-2003 à 15:12:44  profilanswer
 

> urpme MySQL MySQL-common
> urpmi MySQL MySQL-common
> service mysql start
 
 
je viens d'essayer et aucun pb.
Au pire lance :
> mysql_install_db
puis :
> service mysql start
 


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°293826
redmail
Posté le 19-07-2003 à 08:16:30  profilanswer
 

J'ai réalisé ce que tu m'as proposé.
 
#mysql_install_db
Installing all prepared tables
030719  8:10:01  /usr/sbin/mysqld: Shutdown Complete
 
 
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
 
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
 
NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
 
You can start the MySQL daemon with:
cd / ; /usr/bin/mysqld_safe &
 
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
 
Please report any problems with the /usr/bin/mysqlbug script!
 
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
 
************************************
 
#service mysql start
Starting MySQL Server               [ OK  ]
 
 
********************************************
# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
 
Même problème, mysqld contrairement à ce que indique mysql start [OK], ne fonctionne pas !

n°293942
Dark_Schne​ider
Close the World, Open the Net
Posté le 19-07-2003 à 19:12:18  profilanswer
 

tu as installé/désinstallé  les packages mysql ?
peux tu faire :
> rm /var/lib/mysql/mysql.sock
> service mysql start
 
fais voir le fichier de conf de mysql


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  Problème de start mysql

 

Sujets relatifs
problème USB: périphérique inmontableProbleme avec vsftp
Problème avec Apache sous SuSe 8.0NVidia + FrameBuffer = Problème ...
Problème de boot avec LILOprobleme avec liloo sur mon portable
[Debian woody3.0r1] Problème pour lancer un environement de bureau....Problème boot avec redhat 9
[GENTOO] Problème emerge Gnometomcat4 java et X11 probleme avec les fonctions de draw
Plus de sujets relatifs à : Problème de start mysql


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR