出现ucenter info:can not connect to MySQL server解决方法-Discuz教程下载

出现ucenter info:can not connect to MySQL server解决方法

开通本站Svip会员,全站资源免费下
站长朋友想必一定遇到过这种问题:通过dz做二次开发,做完后,准备发布到虚拟主机服务器中,设置好config文件之后,能够成功的进到网站后台,但是ucenter却始终进不去,怎么办?下面看小编给你介绍是怎么回事!

首先我们的错误是这样的

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

这时候我们肯定是要到后台的数据文件中查找错误

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

在这里修改好全局和ucenter的基础配置文件

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

根据你的服务器的数据库环境进行修改

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

然后你就要到uc_server文件夹下面进行配置!

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

你会发下这里也有个控制ucenter的数据库配置文件,同样进行修改

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

回到我们的后台,点击ucenter

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

成功的进去了

出现ucenter info:can not connect to MySQL server解决方法

出现ucenter info:can not connect to MySQL server解决方法

这种错误出现时,咱们不要慌,慢慢查找错误,便可很快解决!另外,最后,谢谢大家的参阅!

全部评论 0

您需要登录后才可以回帖 立即登录
登录
0
0
0
返回顶部