<span style="color: rgb(0, 0, 255);">papoumar@papis:~/amule $ ps -A | grep mysql</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">papoumar@papis:~/amule $ sudo /etc/init.d/mysql start</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">papoumar@papis:~/amule $</span><br style="color: rgb(0, 0, 255);">Aucune réactiion et quand je refais l'autre commande :<br><span style="color: rgb(0, 0, 255);">papoumar@papis:~$ sudo mysqladmin -u root password passer</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">mysqladmin: connect to server at 'localhost' failed</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock'
exists!</span><br>alors j'ai décidé de tout désinstaller et reprendre à zéro voici ce que j'obtiens:<br><br><span style="color: rgb(0, 0, 255);">papoumar@papis:~$ sudo apt-get install mysql-server-5.0</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Lecture des listes de paquets... Fait</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Construction de l'arbre des dépendances... Fait</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Les NOUVEAUX paquets suivants seront installés :</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);"> mysql-server-5.0</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">0 mis à jour, 1 nouvellement installés, 0 à enlever et 120 non mis à jour.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">1 partiellement installés ou enlevés.</span><br style="color: rgb(0, 0,
255);"><span style="color: rgb(0, 0, 255);">Il est nécessaire de prendre 0o/21,3Mo dans les archives.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Après dépaquetage, 48,4Mo d'espace disque supplémentaires seront utilisés.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Préconfiguration des paquets...</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Sélection du paquet mysql-server-5.0 précédemment désélectionné.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">(Lecture de la base de données... 105474 fichiers et répertoires déjà installés.)</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Dépaquetage de mysql-server-5.0 (à partir de .../mysql-server-5.0_5.0.22-0ubuntu6.06_i386.deb) ...</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Paramétrage de apache (1.3.34-2ubuntu0.1) ...</span><br
style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Not replacing deleted config file /etc/apache/httpd.conf</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Not replacing deleted config file /etc/apache/srm.conf</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Not replacing deleted config file /etc/apache/access.conf</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Not replacing deleted config file /etc/apache/modules.conf</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Can't open config file /etc/apache/httpd.conf.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Can't open config file /etc/apache/httpd.conf.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Aucun
fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">/usr/share/apache/postinst.common: line 7: /etc/apache/httpd.conf: Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">/usr/share/apache/postinst.common: line 7: /etc/apache/httpd.conf: Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">/usr/share/apache/postinst.common: line 7: /etc/apache/httpd.conf: Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">/usr/share/apache/postinst.common: line 7: /etc/apache/httpd.conf: Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">grep: /etc/apache/httpd.conf: Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0,
255);"> * Configuration syntax error detected, not starting/reloading...</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">fopen: No such file or directory</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">apache: could not open document config file /etc/apache/httpd.conf</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);"> [fail]</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">invoke-rc.d: initscript apache, action "start"
failed.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">dpkg : erreur de traitement de apache (--configure) :</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);"> le sous-processus post-installation script a retourné une erreur de sortie d'état 1</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Paramétrage de mysql-server-5.0 (5.0.22-0ubuntu6.06) ...</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Stopping MySQL database server: mysqld.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">/etc/init.d/mysql[10466]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Starting MySQL database server: mysqld.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">.</span><br style="color: rgb(0, 0, 255);"><span
style="color: rgb(0, 0, 255);">.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">/etc/init.d/mysql: line 100: /etc/mysql/debian-start: Aucun fichier ou répertoire de ce type</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">invoke-rc.d: initscript mysql, action "start" failed.</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">dpkg : erreur de traitement de mysql-server-5.0 (--configure) :</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);"> le sous-processus post-installation script a retourné une erreur de sortie d'état 1</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">Des erreurs ont été rencontrées pendant l'exécution :</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);"> apache</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0,
255);"> mysql-server-5.0</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">E: Sub-process /usr/bin/dpkg returned an error code (1)</span><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);">papoumar@papis:~$</span><br style="color: rgb(0, 0, 255);"><br style="color: rgb(0, 0, 255);"><span style="color: rgb(0, 0, 255);"><br></span><blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br style="color: rgb(0, 0, 255);"><span style="color: rgb(17, 17, 17);">$ sudo ps -A | grep mysql</span><br style="color: rgb(17, 17, 17);"><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">Voici par exemple ce que j'obtiens:</span><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">----------</span><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);"> 4235 ? 00:00:00 mysqld_safe</span><br style="color: rgb(17,
17, 17);"><span style="color: rgb(17, 17, 17);"> 4299 ? 00:00:00 mysqld</span><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">----------</span><br style="color: rgb(17, 17, 17);"><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">Si "mysqld" n'est pas au rendez-vous, voici la commande qui permet de</span><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">lancer MySql à la main pour dépanner :</span><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">$ sudo /etc/init.d/mysql start</span><br style="color: rgb(17, 17, 17);"><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">Elle doit s'exécuter sans erreurs si MySql est arrêté.</span><br style="color: rgb(17, 17, 17);"><br style="color: rgb(17, 17, 17);"><br style="color: rgb(17, 17, 17);"><br style="color: rgb(17, 17, 17);"><span style="color: rgb(17, 17, 17);">Le 08/08/06, pape oumar
NDAW</span><papisn@yahoo.fr style="color: rgb(17, 17, 17);"> a écrit :<br>> regarder un peu , j'ai un probléme de socket ,<br>> papoumar@papis:~$ sudo mysqladmin -u root password passer<br>> Password:<br>> mysqladmin: connect to server at 'localhost' failed<br>> error: 'Can't connect to local MySQL server through socket<br>> '/var/run/mysqld/mysqld.sock' (2)'<br>> Check that mysqld is running and that the socket:<br>> '/var/run/mysqld/mysqld.sock' exists!<br>> papoumar@papis:~$<br>><br>> comment réparer ? peut-être je devrais tout reprendre ..<br>> depuis hier j'ai fait plein de manip je sais plus ce que j'ai modifié ou<br>> enlevé en suivant différents tutos sur le net<br>><br>> Ludo <ludomatic@gmail.com> a écrit :<br>> Bonjour,<br>><br>> voici un extrait de<br>> http://doc.ubuntu-fr.org/applications/mysql/faq_mysql<br>> --------------------<br>> Comment ajouter ou changer le mot de passe de root ?<br>>
Pour changer le mot de passe de l"utilisateur root (qui n"est pas le<br>> même que l"utilisateur root du système), tapez la commande suivante<br>> dans un terminal :<br>> sudo mysqladmin -u root password nouveau_mot_de_passe<br>><br>> Comment redéfinir de force le mot de passe de root ?<br>> Si vous avez oublié votre mot de passe root MySQL, voici une simple<br>> astuce qui vous permettra de définir un nouveau mot de passe pour<br>> l"utilisateur root :<br>> $ sudo -s<br>> # /etc/init.d/mysql stop<br>> # mysqld -u mysql --skip-grant<br>> # mysqladmin -u root nouveau_mot_de_passe flush-privileges<br>> # /etc/init.d/mysql restart<br>> --------------------<br>><br>> Si cela ne fonctionne toujours pas, ne pas hésiter à copier-coller les<br>> retours d'erreur MySQL lors de ces commandes, ça peut aider à voir<br>> d'où vient le pb.<br>><br>><br>><br>> Le 08/08/06, pape oumar NDAW a écrit :<br>><br>> >
Merçi Alain mais mais je vais d'abord essayer avec gnome<br>> > merçi pour ton aide<br>> ><br>> > Alain Trocmé a écrit :<br>><br>> > Bonjour Pape Oumar NDAW<br>> ><br>> > Je ne sais si ma réponse pourra t'aider beaucoup, mais<br>> > J'ai commencé a essayer Kubuntu samedi et je m'éclate avec (avant, à côté<br>> de<br>> > XP Pro j'avais RedHat 7.3.. ca me fait tout drole.<br>> > Donc, j'ai installe la version hubuntuque j'ai eu avec un journal et j'ai<br>> > lancé le téléchargement d'apahe et de php sur le serveur Ubuntu. Surprise<br>> ca<br>> > a marché tout seul, du premier coup, sans rien y faire...<br>> > Ensuite j'ai fait de même avec Mysql ainsi que les modules de requete,<br>> > d'administration etc (kmyadmin) et tout marche nickel, sans soucis de mot<br>> de<br>> > passe etc...<br>> ><br>> > Fraternellement<br>> > Hannael<br>> ><br>> ><br>>
><br>> > Le Lundi 7 Août 2006 17:31, pape oumar NDAW a écrit :<br>> > > Bonjour , j'éssaie depuis ce matin de configurer un systéme lamp sur mon<br>> > > dapper , tout se passe bien sauf la sécurisation du compte root de<br>> mysql..<br>> > > il me dit qu'il ya déjà un mot de passe root alors que j'en ai jamais<br>> créé<br>> > > ... j'ai ésayé de lancer mysql en skippant la table des grants mais ça<br>> > > marche pas non plus qui a une idée svp<br>> > > ps:j'ai suivi le tuto lamp de ubuntu-fr.org<br>> > ><br>> > ><br>> > > Pape Oumar NDAW<br>> > ><br>> > > alternative access specialist trainer Xamxam-Africa/E-riders Sénégal<br>> > > tel:(221)849-14-30 (221)635-79-79<br>> > > Fax:(221)821-23-59<br>> > > email:papoumar@xamxam-africa.org<br>> > > papisn@yahoo.fr<br>> > > adresse: 53, boulevard Djily Mbaye,immeuble
honda dakar<br>> > > BP:22336<br>> > > DAKAR/SENEGAL<br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > > ---------------------------------<br>> > > Découvrez un nouveau moyen de poser toutes vos questions quelque soit le<br>> > > sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos<br>> > > opinions et vos expériences. Cliquez ici.<br>> ><br>> > --<br>> > ubuntu-fr mailing list<br>> > ubuntu-fr@lists.ubuntu.com<br>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr<br>> ><br>> ><br>> ><br>> > Pape Oumar NDAW<br>> > alternative access specialist trainer Xamxam-Africa/E-riders Sénégal<br>> > tel:(221)849-14-30 (221)635-79-79<br>> > Fax:(221)821-23-59<br>> >
email:papoumar@xamxam-africa.org<br>> > papisn@yahoo.fr<br>> > adresse: 53, boulevard Djily Mbaye,immeuble honda dakar<br>> > BP:22336<br>> > DAKAR/SENEGAL<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > ________________________________<br>> > Découvrez un nouveau moyen de poser toutes vos questions quelque soit le<br>> > sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos<br>> > opinions et vos expériences. Cliquez ici.<br>> ><br>> ><br>> > --<br>> > ubuntu-fr mailing list<br>> > ubuntu-fr@lists.ubuntu.com<br>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr<br>> ><br>> ><br>><br>><br>> --<br>> Cordialement,<br>> Ludo.<br>> http://ludomatic.com/<br>><br>> --<br>><br>> ubuntu-fr mailing list<br>> ubuntu-fr@lists.ubuntu.com<br>>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr<br>><br>><br>><br>> ________________________________<br>><br>> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le<br>> sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos<br>> opinions et vos expériences. Cliquez ici.<br>><br>><br>><br><br><br>-- <br>Cordialement,<br>Ludo.<br>http://ludomatic.com/<br><br>-- <br>ubuntu-fr mailing list<br>ubuntu-fr@lists.ubuntu.com<br>https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr<br></ludomatic@gmail.com></papisn@yahoo.fr></blockquote><br><BR><BR><b><span style="color: rgb(0, 0, 191);">Pape Oumar NDAW </span><br style="color: rgb(0, 0, 191);"> </b> <pre><tt></tt><span style="color: rgb(0, 0, 191);">alternative access specialist trainer Xamxam-Africa/E-riders Sénégal<br></span><span style="color: rgb(0, 0, 191);">tel:(221)849-14-30 (221)635-79-79 <br>Fax:(221)821-23-59 </span><span style="color: rgb(0, 0,
191);"><span style="font-family: arial;"><br></span>email:papoumar@xamxam-africa.org </span><span style="color: rgb(0, 0, 191);"><span style="font-family: arial;"><br></span>papisn@yahoo.fr<br></span><span style="color: rgb(0, 0, 191);">adresse: 53, boulevard Djily Mbaye,immeuble honda dakar </span><span style="color: rgb(0, 0, 191);"><span style="font-family: arial;"><br></span>BP:22336 </span><span style="color: rgb(0, 0, 191);"><span style="font-family: arial;"><br></span>DAKAR/SENEGAL</span><br></pre> <br> <pre><br><tt></tt></pre> <pre><tt><br></tt></pre><p>
<hr size="1">
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Cliquez ici</a>.