chti56 Posted February 11, 2014 Share Posted February 11, 2014 (edited) Bonjour, Je voudrais retrouver le mot de passe de ma base de données car je ne m'en rappelle plus.. J'avais fait un sauvegarde complète de la base et du site et je voudrais savoir si je peux y retrouver ce mot de passe. J'ai en particulier un fichier mysql.sql avec un mot de passe codé qui pourrait bien être ce mot de passe.. Comment faire pour le décrypter ? Merci pour votre aide. JP Edited February 11, 2014 by chti56 (see edit history) Link to comment Share on other sites More sharing options...
customcode Baptiste Posted February 11, 2014 Share Posted February 11, 2014 Bonjour, Dans config/settings.inc.php define('_DB_PASSWD_', 'motdepass'); 1 Link to comment Share on other sites More sharing options...
Yoya Posted February 11, 2014 Share Posted February 11, 2014 Salut Chti56, Si c'est bien ta base de donnée prestashop, tu peu trouver le mot de passe en clair dans le fichier /config/settings.inc.php Cdlt Pierre. Link to comment Share on other sites More sharing options...
chti56 Posted February 11, 2014 Author Share Posted February 11, 2014 Un grand merci à vous deux pour vos réponses rapides !! J'ai été voir ce fichier, mais le mot de passe est codé... Voici la ligne en question: define('_DB_PASSWD_', 'modéré'); Comment l'avoir en clair ?? Encore Merci Jean-Pierre Link to comment Share on other sites More sharing options...
customcode Baptiste Posted February 11, 2014 Share Posted February 11, 2014 Le mot de passe est en clair, je vous conseille de le modifier tout de suite Link to comment Share on other sites More sharing options...
chti56 Posted February 11, 2014 Author Share Posted February 11, 2014 Je ne le vois pas en clair dans le fichier ... Je pense que cette chaîne est cryptée. Link to comment Share on other sites More sharing options...
customcode Baptiste Posted February 11, 2014 Share Posted February 11, 2014 Bonjour, Ce mot de passe n'est pas crypté. 1 Link to comment Share on other sites More sharing options...
Yoya Posted February 11, 2014 Share Posted February 11, 2014 Ton mot de passe est bien celui indiqué Link to comment Share on other sites More sharing options...
chti56 Posted February 11, 2014 Author Share Posted February 11, 2014 Autant pour moi... J'ai pu me connecter à la base. Un Grand Merci. Jean-Pierre 1 Link to comment Share on other sites More sharing options...
customcode Baptiste Posted February 11, 2014 Share Posted February 11, 2014 Je vous invite a modifier votre mot de passe SQL Link to comment Share on other sites More sharing options...
chti56 Posted February 11, 2014 Author Share Posted February 11, 2014 OK !! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now