已解决 禅道登录上后,点击开源版直接报错
  1. 登录上禅道后,点击开源版本

2.下面就直接报数据连接的错误,该怎么解决呢?

3.附上my.php文件的截图:

禅道版本 11.5 源码包
操作系统 Windows 7
客户端浏览器 其他

提问者: 吴双双 悬赏: 5 日期: 2019-06-23 21:18:32 答案:1 点击:104
设置备注
答案列表
2019/06/24

将my.php文件中password 的值改为123456或者空,再试一下。

2019/06/24
我把password的值改成123456或者空,还是不行啊
2019/06/24
user的值改为root试一下,可以添加网页上方QQ,邀请进群,方便截图排查问题。
2019/06/24
我把user的值改成root后,数据库密码输入的是123456,结果是登上数据库了。但是直接从禅道这里登的时候,点击开源版还是出刚刚的错误,这是怎么回事呢?
2019/06/24
zentao(pro/biz/pms)/config/my.php(db.php) 中debug的值改成true  重新操作一下 看日志文件 zentao(pms/biz/pro)/tmp/log/php开头的今天的文件有什么报错。注:不要找sql开头的文件。 可以添加网页上方QQ,邀请进群,方便截图排查问题。
2019/06/24
我把my.php里debug的值改成了true了,也找到了今天的log文件,由于没法在这里截图,我把里面的报错复制下来,你看看吧。
<?php
die();
?>

09:33:13 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'wss'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

09:35:20 ERROR: SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'zentao' in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

09:37:45 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'wss'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

09:40:20 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'wss'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

09:41:01 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'wss'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

16:25:25 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

16:27:16 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting

16:40:29 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in D:\xampp\zentao\framework\base\router.class.php on line 2164, last called by D:\xampp\zentao\framework\base\router.class.php on line 2115 through function connectByPDO.
in D:\xampp\zentao\framework\base\router.class.php on line 2215 when visiting
2019/06/24
目前还是显示数据库密码错误,可以点击数据库管理看一下能否登陆zentao数据库。之前是否更改过数据库密码?如果目前禅道中没有数据可以重新安装试一下。
2019/06/24
我的问题解决了,应该是我安装的禅道的版本的原因。我换了个版本的禅道又装了一回,就一次性好了。谢谢你了,3252404599,这是我的qq号,希望有时间可以常常向你请教测试上的问题。