WordPress的数据库配置文件在网站根目录 wp-config.php

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wordpresscn01' );

/** MySQL database username */
define( 'DB_USER', 'wordpresscn01' );

/** MySQL database password */
define( 'DB_PASSWORD', 'WAvcoRR60iZu2QFJAT4O08shXaALC' );

/** MySQL hostname */
define( 'DB_HOST', 'localhost' );

/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐