File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,19 +204,19 @@ wp config delete <name> [--type=<type>] [--config-file=<path>]
204204Generates a wp-config.php file.
205205
206206~~~
207- wp config create --dbname=<dbname> --dbuser=<dbuser> [--dbpass=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=<path>] [--insecure] [--ssl]
207+ wp config create [ --dbname=<dbname>] [ --dbuser=<dbuser>] [--dbpass=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check] [--force] [--config-file=<path>] [--insecure] [--ssl]
208208~~~
209209
210210Creates a new wp-config.php with database constants, and verifies that
211211the database constants are correct.
212212
213213** OPTIONS**
214214
215- --dbname=<dbname>
216- Set the database name.
215+ [ --dbname=<dbname>]
216+ Set the database name. Required unless the SQLite integration drop-in is detected.
217217
218- --dbuser=<dbuser>
219- Set the database user.
218+ [ --dbuser=<dbuser>]
219+ Set the database user. Required unless the SQLite integration drop-in is detected.
220220
221221 [--dbpass=<dbpass>]
222222 Set the database user password.
You can’t perform that action at this time.
0 commit comments