建立数据库连接时出错-Wordpress [英] Error establishing a database connection - wordpress
问题描述
我收到此错误。 wp-config文件中的连接详细信息正确。自从我将网站文件发送给老板以使网站上线以来,我一直只有收到此错误。我还对数据库进行了转储以发送给他。
I get this error. The connection details in the wp-config file are correct. I have only been getting this error ever since I sent the website files to my boss to put the website online. I also did a dump of the database to send to him.
他所做的某件事是否有可能影响了我在本地的wordpress网站副本?似乎并非如此...但是自他将其发布到网上以来,我才遇到这个问题。进行转储时,是否可能会误删除数据库?我可以以某种方式检查吗?
Is it at all possible that something he did effected my local copy of the wordpress website? It doesn't seem so...but I have only had this issue since he put it online. Maybe did I remove my database by mistake when I did the dump? Can I check that somehow?
数据库转储会破坏我的数据库吗?我是数据库转储发送给他的人。它移动了我的数据库吗?
Does a database dump mess up my database? I was the one that did the database dump, to send to him. Did it move my database?
我可以重新安装wordpress作为解决方案并将其网站复制到其中吗?
Can I reinstall wordpress as a solution and copy my website into it?
干杯。
推荐答案
检查实时服务器数据库凭据是否与wp-config中的详细信息匹配。
您的localohost凭据可能与服务器凭据不同
Check if your live server database credentials match with details in your wp-config. your localohost credential might be different from server credential
第二次检查您的老板是否已还原转储数据库
Secondly check if your boss has restored dump database
这篇关于建立数据库连接时出错-Wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!