Nous avons tout fait pour qu'il n'y ai plus de problèmes après installation. Ça valait le coup d'attendre un petit peu, surtout par rapport aux modifications à effectuer après installation de Wampserver 2.4Citation
priatel
Mais c’est sûr que je devrai revenir poser des questions car c’est pas possible que cela continue à marcher sans problèmes !
Pas besoin puisqu'il y a les dernières versions Apache, PHP et MySQL !Citation
priatel
À la prochaine ! Et à quand la version 2.6 ?
Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.6.17 MySQL Community Server (GPL) Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * phpMyAdmin sample configuration, you can use it as base for * manual configuration. For easier setup you can use setup/ * * All directives are explained in documentation in the doc/ folder * or at [docs.phpmyadmin.net]. * * @package PhpMyAdmin */ /* * This is needed for cookie based authentication to encrypt password in * cookie */ $cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ /* * Servers configuration */ $i = 0; /* * First server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['verbose'] = 'mysql wampserver'; //$cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; /* Server parameters */ $cfg['Servers'][$i]['host'] = '127.0.0.1'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; /* Select mysql if your server does not have mysqli */ $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['AllowNoPassword'] = true; /* * phpMyAdmin configuration storage settings. */ // No warning on pmadb tables $cfg['PmaNoRelation_DisableWarning'] = true; ?>Nous allons le simplifier et faire en sorte que le mot de passe à root nouvellement affecté soit pris en compte :
<?php $cfg['blowfish_secret'] = 'a8b7c6d'; /*Vous pouvez mettre ce que vous voulez */ /* Configuration du serveur */ $i = 0; /* Premier serveur */ $i++; /* Type d'authentification */ $cfg['Servers'][$i]['verbose'] = 'mysql wampserver'; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'votre mot de passe'; /* Paramètres du serveur */ $cfg['Servers'][$i]['host'] = '127.0.0.1'; /* Choisir mysql si le serveur ne dispose pas de mysqli */ $cfg['Servers'][$i]['extension'] = 'mysqli'; // Pas d'avertissement pour les tables pmadb $cfg['PmaNoRelation_DisableWarning'] = true; ?>Sauvegarder le fichier modifié.
<?php $cfg['blowfish_secret'] = 'a8b7c6d'; /*Vous pouvez mettre ce que vous voulez */ /* Configuration du serveur */ $i = 0; /* Premier serveur */ $i++; /* Type d'authentification */ $cfg['Servers'][$i]['verbose'] = 'mysql wampserver'; $cfg['Servers'][$i]['auth_type'] = 'http'; $cfg['Servers'][$i]['user'] = ''; $cfg['Servers'][$i]['password'] = ''; /* Paramètres du serveur */ $cfg['Servers'][$i]['host'] = '127.0.0.1'; /* Choisir mysql si le serveur ne dispose pas de mysqli */ $cfg['Servers'][$i]['extension'] = 'mysqli'; // Pas d'avertissement pour les tables pmadb $cfg['PmaNoRelation_DisableWarning'] = true; ?>C'est, à mon humble avis, la bonne méthode, même si elle implique la saisie du nom utilisateur "root" et du mot de passe associé. Cela permet d'ajouter d'autres utilisateurs avec leurs propre mot de passe, utilisateurs qui peuvent avoir des privilèges (droits) restreints.