Skip to content

[Documentation] Adding troubleshooting sections for WP-CLI database connections #2333

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

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

fellyph
Copy link
Collaborator

@fellyph fellyph commented Jul 7, 2025

Motivation for the change, related issues

Issue #2332 identified a scenario where additional steps are required to mount WP-CLI with a mounted playground. This pull request adds a guide for the user to run WP-CLI command successfully with WordPress Playground.

Implementation details

  • Adds a new troubleshooting section to /blueprints/troubleshoot-and-debug detailing how to resolve "Error establishing a database connection".
  • Includes a corresponding Blueprint example in /blueprints/examples for quick reference.

Testing Instructions (or ideally a Blueprint)

  • Download the branch adding-blueprints-tips.
  • Install the node dependencies.
  • Run the documentation npm run dev:docs

@fellyph fellyph requested a review from bgrgicak July 7, 2025 09:37
@adamziel
Copy link
Collaborator

adamziel commented Jul 7, 2025

Lovely, thank you @fellyph! I wonder if we could recognize that type of error and link to the doc page from the error message 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants