没有。sql文件。设置位于。php文件。
它通常位于wp config的顶部。php位于WordPress安装的根目录中,如下所示:
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don\'t have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define(\'DB_NAME\', \'dbname\');
/** MySQL database username */
define(\'DB_USER\', \'username\');
/** MySQL database password */
define(\'DB_PASSWORD\', \'123password\');
/** MySQL hostname */
define(\'DB_HOST\', \'localhost\');