Closed swissspidy closed 8 months ago
wp config create by default checks the database connection when trying to create the wp-config.php file, and uses die()when the connection fails. This happens on CI because there is no MySQL server running.
wp config create
wp-config.php
die()
https://github.com/wp-cli/config-command/blob/ca25b73e798657ac1846c99b96d3ae8d22be4f34/src/Config_Command.php#L159-L171
wp config create
by default checks the database connection when trying to create thewp-config.php
file, and usesdie()
when the connection fails. This happens on CI because there is no MySQL server running.https://github.com/wp-cli/config-command/blob/ca25b73e798657ac1846c99b96d3ae8d22be4f34/src/Config_Command.php#L159-L171