原创 请问为何更改使用者root的预设密码之后,存取http://server-IP/phpMyAdmi

2007-8-9 17:19 2410 3 3 分类: 工程师职场

请问在使用synology过程中,为何更改使用者root的预设密码之后,存取http://server-IP/phpMyAdmin/ 时就出现Error #1045 的讯息?


适用型号:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


单个硬盘位:DS106jDS106eDS106 DS107eDS107DS107+


两个硬盘位:DS207


四个硬盘位:CS406eCS406 CS407eCS407


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

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
我要评论
0
3
关闭 站长推荐上一条 /1 下一条