我正在尝试恢复我有文件备份的 WordPress 网站,但我手头没有数据库备份。
我设法通过在 cPanel 中恢复备份来部分启动该站点-该站点的所有页面现在都可以正常工作,但是因为没有数据库(wp-config.php 指向“曾经是”我的数据库)访问站点.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 的东西。