Skip to content

Commit 852276e

Browse files
Build/Test Tools: Skip DB check during local env config creation
1 parent f3c7256 commit 852276e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/local-env/scripts/install.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const local_env_utils = require( './utils' );
99

1010
dotenvExpand.expand( dotenv.config() );
1111

12-
// Create wp-config.php.
13-
wp_cli( `config create --dbname=wordpress_develop --dbuser=root --dbpass=password --dbhost=mysql --force --config-file="wp-config.php"` );
12+
// Create wp-config.php without waiting on the database to accept connections.
13+
wp_cli( `config create --dbname=wordpress_develop --dbuser=root --dbpass=password --dbhost=mysql --skip-check --force --config-file="wp-config.php"` );
1414

1515
// Add the debug settings to wp-config.php.
1616
// Windows requires this to be done as an additional step, rather than using the --extra-php option in the previous step.

0 commit comments

Comments
 (0)