Précédent   Forum des professionnels en informatique > Bases de données > MySQL > Installation
Installation Forum d'entraide sur les problèmes liés à l'installation de MySQL
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 18/08/2011, 18h07   #1
Invité régulier
 
Inscription : décembre 2008
Messages : 109
Détails du profil
Informations forums :
Inscription : décembre 2008
Messages : 109
Points : 5
Points : 5
Par défaut Accès refusé phpMyadmin

Bonjour,

J'ai accidentellement supprimé l'ensemble des utilisateurs dans les privilèges et je n'ai donc plus accès à phpMyAdmin.

Lorsque je veux accéder à phpmyadmin voila sur quoi je tombe:


Je suis sous seven et j'utilise Wampee-2.1-beta-2 et il n'utilise aucun : mysqld-nt dans la solution citée.

Je viens d'essayer cette manip :

Citation:
Hi guys,
Just recently I came across the above mysql error and at one point was at full panic mode. This is because all the development databases were stored in my local mysql server using wampserver. After hours of searching through Google and forums, I finally found the solution to this problem, so I thought of sharing it with you guys. So here it is:

First you should stop the MySQL service (If using Wampserver like me, just simply click on the wampserver tray icon -> mysql -> stop service, else if you have installed a standalone MySQL server then go to control panel -> administrative tools -> services -> and stop the service).
Open a command prompt and change the path to until you reach the bin directory of mysql (E.g. C:\wamp\bin\mysql\mysql5.1.36\bin). And then type mysqld –skip-grant-tables
Leave this window open as it is and open another command prompt and change the path until you reach bin directory of mysql and type mysqlcheck –check-upgrade –all-databases –auto-repair (E.g. C:\wamp\bin\mysql\mysql5.1.36\bin>mysqlcheck –check-upgrade –all-databases –auto-repair).
Type mysql and press enter.

And that’s about it. You now regain access to all your databases with all data intact. Hope this works out for people who might face this problem in future.
Mais lorsque je tape :
Citation:
mysqlcheck –check-upgrade –all-databases –auto-repair
sous MsDos voila ce que j'obtiens:

Citation:
(mysqlcheck: Got error: 2003: can't connect to mysql server on 'localhost' <10061
>when trying to connect


Pouvez m'aider SVP car je suis n'arrive plus à travailler et je ne trouve pas de solution.

Merci
adam974 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/08/2011, 17h21   #2
ced
Rédacteur/Modérateur

 
Avatar de ced
 
Homme Cédric Duprez
Inscription : avril 2002
Messages : 3 823
Détails du profil
Informations personnelles :
Nom : Homme Cédric Duprez
Âge : 36
Localisation : France, Loiret (Centre)

Informations professionnelles :
Secteur : Agroalimentaire - Agriculture

Informations forums :
Inscription : avril 2002
Messages : 3 823
Points : 6 433
Points : 6 433
Bonjour,

Visiblement, même l'utilisateur "root" a dû en prendre un coup.
Suis la procédure donnée en lien dans la discussion suivante : http://www.developpez.net/forums/d11...o/#post6172703
__________________
Rédacteur / Modérateur SGBD
Mes tutoriels et la FAQ MySQL

----------------------------------------------------
Pensez aux balises code et au tag
Je ne réponds pas aux questions techniques par message privé, les forums sont là pour ça
ced est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 16h19.


 
 
 
 
Partenaires

Hébergement Web