请问在使用synology过程中,为何更改使用者root的预设密码之后,存取http://server-IP/phpMyAdmin/ 时就出现Error #1045 的讯息?
适用型号:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
单个硬盘位:DS106j、DS106e、DS106 、DS107e、DS107、DS107+
两个硬盘位:DS207
四个硬盘位:CS406e、CS406 、CS407e、CS407
1U四硬盘位:RS406 、RS407
解答:
这通常是因为认证方法没有被正确地设定。请执行下列步骤来解决这个问题:
1. 到「\\server-IP\web\phpMyAdmin\libraries」。(以phpMyAdmin-<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />2.8.2.1为例)
2. 用文字编辑程序打开档案「config.default.php」,例如Notepad。
3. 3. 找到「$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?」,把它改成「$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?」,然后存盘。
完成上述设定后,您连结http://server-IP/phpMyAdmin/ 时就会被要求输入使用者名称和密码。现在,您可以输入使用者名称和新的密码来登入phpMyAdmin。
文章评论(0条评论)
登录后参与讨论