Issue
I have tried all the options and answers available on this site for problem. the problem is i have installed "Wamp Server 2.2" and when i open 'PHPmyadmin' page it shows the following error message:
MySQL said:
#1045-Access denied for user 'root'@'local-host' (using password: NO)
I tried reinstalling server, restarting server and also I tried resetting the password also and done everything that i could find here as a solution. but it doesn't worked. please help me fix this.
Solution
Edit config.inc.php file.
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '3306';
$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'] = 'YOUR_USERNAME';
$cfg['Servers'][$i]['password'] = 'YOUR_PASSWORD';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
Answered By - Misa Lazovic
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.