Skip to content

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

Merged
schlessera merged 1 commit into
wp-cli:masterfrom
yukihiko-shinoda:hotfix-extra
Jul 4, 2020
Merged

schlessera merged 1 commit into
wp-cli:masterfrom
yukihiko-shinoda:hotfix-extra

Conversation

@yukihiko-shinoda

Copy link
Copy Markdown
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 June 18, 2020 19:06
@schlessera schlessera added bug command:scaffold-plugin-tests Related to 'scaffold plugin-tests' command labels Jul 4, 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
@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 August 24, 2020 17:00
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

Labels

bug command:scaffold-plugin-tests Related to 'scaffold plugin-tests' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants