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

Make use of $EXTRA connection settings in install_db() #269

Merged
merged 1 commit into from Jul 4, 2020

Conversation

yukihiko-shinoda
Copy link
Contributor

#249 forget to add $EXTRA parameters when check existing database.
Therefore, when we use install-wp-tests.sh to non default host DB like other Docker container,
we got error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

@yukihiko-shinoda yukihiko-shinoda requested a review from a team as a code owner Jun 18, 2020
@schlessera schlessera added this to the 2.0.10 milestone Jul 4, 2020
@schlessera schlessera merged commit 4ce62ca into wp-cli:master Jul 4, 2020
2 checks passed
@schlessera schlessera changed the title Fix bug that can't init non default host DB Make use of $EXTRA connection settings in install_db() Jul 4, 2020
@yukihiko-shinoda yukihiko-shinoda deleted the hotfix-extra branch Aug 24, 2020
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Fix bug that can't init non default host DB
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.

None yet

2 participants