Skip to content

Commit 2d5ee5d

Browse files
committed
Instruct WP-CLI to not use the --no-defaults flag when shelling out to the mysql client.
1 parent e61b548 commit 2d5ee5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/local-env/scripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ wait_on( {
4646
process.exit( 1 );
4747
} )
4848
.then( () => {
49-
wp_cli( 'db reset --yes' );
49+
wp_cli( 'db reset --yes --defaults' );
5050
const installCommand = process.env.LOCAL_MULTISITE === 'true' ? 'multisite-install' : 'install';
5151
wp_cli( `core ${ installCommand } --title="WordPress Develop" --admin_user=admin --admin_password=password [email protected] --skip-email --url=http://localhost:${process.env.LOCAL_PORT}` );
5252
} )

0 commit comments

Comments
 (0)