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
merged 1 commit into from
Apr 21, 2019
Merged

Update example of 'wp config create' #317

merged 1 commit into from
Apr 21, 2019

Conversation

man4toman
Copy link
Contributor

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
@schlessera
Copy link
Member

Thanks for the PR, @man4toman !

schlessera added a commit that referenced this pull request Jan 25, 2022
Update example of 'wp config create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants