ERREUR 1045 MYSQL

malicia669 Posted messages 2 Status Member -  
 zedlg -
Hello,

I'm cracking up: I followed the book to the letter to install MySQL and everything is going well except that at the end it gives me error 1045
access denied for user 'root'@'localhost' (using password YES)

What should I do?

Thank you for your help because I'm at my wit's end!
Configuration: Windows XP Internet Explorer 6.0

12 answers

xian95
 
With WAMP, you need to go to the config.inc.php file in wamp\apps\phpmyadmin3.1.1
and add the password in this file
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'yourpassword';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

I often had to find this file and after that everything goes well.
6
zedlg
 
merci, cela a fonctionné pour moi depuis le Maroc
0