尝试恢复完整的 WordPress 数据库
我正在尝试从备份中恢复完整的 WordPress 数据库,但我无法弄清楚我想要在 phpmyadmin 部分中获取凭据的数据库是哪个数据库。我已经导入了数据库,但有四个数据库,我不知道应该将哪一个的凭据放入 wp-content.php 文件中?你怎么知道?谢谢。
I'm trying to restore a full wordpress database from backup and I can't figure out which database is the one I want to get credentials for in the phpmyadmin portion. I've imported the database but there are four, and I can't tell which one I should put the credentials of in the wp-content.php file? How can you tell? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 WordPress 网站目录中有一个名为“wp-config.php”的文件。通过编辑器(如:Notepad++ 或 Sublime)打开文件并找到如下行 -
最有可能的是,您会在第 23 行中找到该行。这里我的数据库名称是“dbname_wp710”。现在您必须在备份中找到此数据库文件并将其上传到 phpmyadmin。
There is file in your Wordpress website directory named as "wp-config.php". Open the file by an editor (like: Notepad++ or Sublime) and find the line like bellow -
Most provably you will find that in line number 23. Here my database name is "dbname_wp710". Now you have to find this database file in your backup and upload it to phpmyadmin.