Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example of 'wp config create' #317

merged 1 commit into from Apr 21, 2019


Copy link

commented Apr 20, 2019

In windows, when we use:
wp config create --dbname=wpclidemo --dbuser=root

It returns this error:

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061 "Unknown error")

This is due to the absence of a password, if we add dbpass to command, the error will be gone, like:

wp config create --dbname=wpclidemo --dbuser=root --prompt=dbpass

@schlessera schlessera added this to the 2.2.0 milestone Apr 21, 2019

@schlessera schlessera merged commit 27a6bfd into wp-cli:master Apr 21, 2019

1 check passed

DEP All dependencies are resolved

This comment has been minimized.

Copy link

commented Apr 21, 2019

Thanks for the PR, @man4toman !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.