Re: Perte de connexion root sur mysql
"raber%info-micro.com" <[email protected]>
| Newsgroups | gmane.linux.mandrake.expert.french |
|---|---|
| Message-ID | <[email protected]> |
Cécile a écrit :
> Oui, j'ai essayé ça, mais en fait, je n'ai pas oublié mon mot de passe,
> j'ai enlevé root de là ou il ne fallait pas !
> Bon, en fait, je me suis arrangée : j'ai backupé mes bases, supprimé
> mysql et réinstallé et redescendu la sauvegarde : tout semble rentré
> dans l'ordre.
>
> Merci qd meme
> Cécile
>
>
>>> salut
>>> as-tu essayé en console mysql
>>>
>>>
>>> shell> *|mysql -u root|*
>>> mysql> *|SET PASSWORD FOR 'root'@'localhost' =
>>> PASSWORD('nouveau_mot');|* mysql> *|SET PASSWORD FOR
>>> 'root'@'host_name' = PASSWORD('nouveau_mot');|*
>>>
>>> ou avec mysqladmin
>>>
>>> shell> *|mysqladmin -u root password "nouveau_mot"|*
>>> shell> *|mysqladmin -u root -h host_name password "nouveau_mot"
>
>
> _______________________________________
>
>
> ------------------------------------------------------------------------
>
> ____________________________________________________
> Want to buy your Pack or Services from Mandriva?
> Go to http://store.mandriva.com
> Join the Club : http://www.mandrivaclub.com
> ____________________________________________________
Méthode bourrin alors !!! Déjà sur la liste débutants la réponse qui
t'avais été faite était la même et la bonne d'ailleurs (les commmandes
ci dessus ne servent pas uniquement à redonner un mot de passe à root
mais à recréer l'utilisateur root de mysql)
mais enfin...
raber
message-footer.txt
(text/plain, 232 B)
____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________