Home > Knowledge Base > FAQ > Why do I get Error #1045 when accessing http://server-IP/phpMyAdmin after I changed the default password of the user "root" via phpMyAdmin (for DSM version 2.2 and earlier)?
Why do I get Error #1045 when accessing http://server-IP/phpMyAdmin after I changed the default password of the user "root" via phpMyAdmin (for DSM version 2.2 and earlier)?
Answer :
Usually this happens when the authentication method is not set up properly. To solve this problem, please follow steps below:
- Go to "\\server-IP\web\phpMyAdmin\libraries". (Take phpMyAdmin-2.8.2.1 for example.)
- Open file "config.default.php" with a text editor, such as Notepad.
- Find "$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?". Replace it with "$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?", and save the file.
After completing the above setup, you will be prompted to enter user name and password when accessing http://server-IP/phpMyAdmin/. Now you should be able to login phpMyAdmin by entering the user name and new password.
2012-10-24 10:38:56
