suite à instalation de la dernière version de wamp pour pouvoir bénéficier de designer, lorsque je veux reconnecter MySQL query browser ou dreamweaver à mes BD j'ai le message d'erreur suivant:
MySQL error:1048 Access denied for user 'dbo177506751'@localhost (using password: YES)
mes tables BD et user me paraissent bien configurés ( elles fonctionnaient avant la MaJ)
Et lorsque j'ouvre un site par localhost sur les pages devant accèder à la BD j'ai le message suivant:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'dbo154362373'@'localhost' (using password: YES) in C:\wamp\www\casse-motos.info\Connections\ConnexionCasseMotos.php on line 9 Fatal error: Access denied for user 'dbo154362373'@'localhost' (using password: YES) in C:\wamp\www\casse-motos.info\Connections\ConnexionCasseMotos.php on line 9
voici la ligne 9;
$ConnexionCasseMotos = mysql_pconnect($hostname_ConnexionCasseMotos, $username_ConnexionCasseMotos, $password_ConnexionCasseMotos) or trigger_error(mysql_error(),E_USER_ERROR); ?>
Si quelq'un a une idée sur ce bug de connexion suite à ce changement de version... Ca fait 2 jours que je me casse les dents dessus...
Merci pour ta réponse mais comme tu peut le voir ci-dessous je n'ai pas de MP dans la zone password, j'ai quand même testé ta méthode par la console et pas d'amélioration
$i++; $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') $cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli') $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection // (requires PHP >= 4.3.0) $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings // (this user must have read-only $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" // and "mysql/db" tables). // The controluser is also // used for all relational // features (pmadb) $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? $cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed // with 'config' auth_type) $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only // this db is displayed in left frame // It may also be an array of db-names, where sorting order is relevant. $cfg['Servers'][$i]['hide_db'] = ''; // Database name to be hidden from listings $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; // Database used for Relation, Bookmark and PDF Features // (see scripts/create_tables.sql) // - leave blank for no support // DEFAULT: 'phpmyadmin' $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; // Bookmark table // - leave blank for no bookmark support // DEFAULT: 'pma_bookmark' $cfg['Servers'][$i]['relation'] = 'pma_relation'; // table to describe the relation between links (see doc) // - leave blank for no relation-links support // DEFAULT: 'pma_relation' $cfg['Servers'][$i]['table_info'] = 'pma_table_info'; // table to describe the display fields // - leave blank for no display fields support // DEFAULT: 'pma_table_info' $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; // table to describe the tables position for the PDF schema // - leave blank for no PDF schema support // DEFAULT: 'pma_table_coords' $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; // table to describe pages of relationpdf // - leave blank if you don't want to use this // DEFAULT: 'pma_pdf_pages' $cfg['Servers'][$i]['column_info'] = 'pma_column_info'; // table to store column information // - leave blank for no column comments/mime types // DEFAULT: 'pma_column_info' $cfg['Servers'][$i]['history'] = 'pma_history'; // table to store SQL history //designer $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
est ce que l'utilisateur dbo177506751 existe ? son mot de passe est il le bon ?
as tu testé ça ?
si tu retrouves pas ton mot de passe suis ça : - clique sur la petite icone wamp - ouvre le menu MySQL - clique sur MySQL Console - tape Entrée à l'invite te demandant un password
- puis tape connect mysql; - ensuite fais un SELECT * FROM user;
vois tu l'utilisateur dbo177506751 ? son password est il le bon ?
pour changer son password tape : SET PASSWORD FOR dbo177506751@localhost =OLD_PASSWORD('');
J'ai effectué ton test et j'ai bien 2 utilisateurs: host (classique sans MP) dbo177506751 (avec le bon MP)
Pour l'instant j'ai pu me connecter à ma BD en reconfigurant ma connexion sur Host sans MP mais ça ne règle pas mon problème pour ma connexion sécurisé.
Après effacement des fichiers user et db de toutes mes bd puis arrêt des serveurs puis recréation des user et bd, relance des serveurs tout remarche normalement pour l'instant !! Ce qui me conforte pour un fichier qui était corompu ou un bug entre l'ancienne version et ma MaJ qui ne voulait pas mes anciens user ???