我正在尝试恢复一个WordPress网站,我有备份文件,但我手边没有数据库备份。恢复WordPress网站无数据库备份?
我设法通过在cPanel中恢复备份来部分获取站点 - 所有站点的页面现在都在工作,但是因为没有DB(wp-config.php指向'曾经是'我的DB)访问site.com/wp-admin呈现此错误:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
我知道我做了一个巨大的错误,没有备份我的网站数据库。
在这种情况下有什么办法可以访问wp-admin吗?我不能用新的“嘲笑”旧的数据库吗? 任何能够访问wp-admin。
简短的回答是否 – PhpDude
您可以重新安装WordPress,然后复制您恢复的'wp-content'文件夹。就是这样。 – Eamonn