By default no password is required for accessing php myadmin, but I wanted to add a password for login.

After reading a few posts ,I made following changes to config.inc.php file :

1) Changed 

```
   $cfg['Servers'][$i]['auth_type'] = 'config';

  to  
   $cfg['Servers'][$i]['auth_type'] = 'http';

```

2) Inserted a password in the line $cfg['Servers'][$i]['password'] = '';

3) $cfg['Servers'][$i]['AllowNoPassword'] = true;

After making these changes, I get the login form, but when I login with username 'root' and the saved password , the login doesn't work.

Please suggest a solution.
Thanking you in anticipation.