Error on Windows 11 with WP CLI 2.6 and PHP 8.1.6
I'm using PHP 8.1.6 with wp cli 2.6 and get the following error:
It worked fine before with wp cli 2.4 and an older PHP version.
Here is a section of the command I used. (command is cut here for privacy reasons)
wp config create --dbhost="127.0.0.1" --dbuser="....."
'"mysql --no-defaults --execute="' is not recognized as an internal or external command,
operable program or batch file.