配置了wp-config.php,但数据库没有连接

发布于 2025-01-25 16:31:10 字数 345 浏览 1 评论 0原文

我正在尝试重新重新定时网站。我安装了XAMPP并制作了一个数据库,但是当我想加速我的网站时,我会得到install.php。我尝试了几件事:

  • 重命名db_name,db_user和db_password以匹配wp-config.php中的数据库,
  • 创建了一个数据库,该数据库带有wp-confif.php中的信息,
  • 我尝试使用define('wp_allow_repair','wp_allow_repair','wp_allow_repair',,真的);。我遇到了数据库找不到几张表的错误。

我真的很想让我的网站再次工作,以便我可以继续进行项目。

任何帮助都将被应用!

I am trying to repare my wordpress website. I installed XAMPP and made a database, but I get install.php when I want to acces my website. I tried a few things:

  • rename DB_NAME, DB_USER and DB_PASSWORD to match the database in wp-config.php
  • created a database with the information which was allready in wp-confif.php
  • I tried to repair the website using define(‘WP_ALLOW_REPAIR’, true);. I got errors where the database was unable to find a few tables.

I really would like to make my website work again so I can continue on my project.

Any help would be appriciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文