gpt4 book ai didi

php - 未知文件 - wp-config-db.cnf.php - 有什么想法吗?

转载 作者:行者123 更新时间:2023-11-29 22:33:12 26 4
gpt4 key购买 nike

注意到昨天我安装的 WordPress 的根目录中有一个文件。

它被称为 wp-config-db.cnf.php ,里面有以下内容:

#!/usr/bin/env php
#<?php /*
[mysqldump]
user={username}
password={password}
#*/?>

有什么想法是从哪里来的或者它在做什么吗?

它是合法文件还是需要担心?

谢谢

最佳答案

危机结束。我刚刚与 VaultPress(我最近安装的一个插件)交谈,他们这样说:

Could your plugin have made a file in the root of my wordpress install called wp-config-db.cnf.php ?

Yes -- we use this file to pass MySQL credentials to your MySQL process during restores. If you're concerned about it, you can delete it, and we'll regenerate one when we attempt a restore.

Best, Chris

Automattic | WordPress.com | VaultPress

关于php - 未知文件 - wp-config-db.cnf.php - 有什么想法吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29658198/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com