Skip to content

📝 Add DB_HOST note for socket connection issues#804

Merged
retlehs merged 1 commit into
masterfrom
docs/env-example-db-host-note
Mar 8, 2026
Merged

📝 Add DB_HOST note for socket connection issues#804
retlehs merged 1 commit into
masterfrom
docs/env-example-db-host-note

Conversation

@retlehs

@retlehs retlehs commented Mar 8, 2026

Copy link
Copy Markdown
Member

Summary

Add a commented DB_HOST='127.0.0.1' alternative to .env.example for users encountering mysqli 2002 / socket connection issues when using localhost.

  • Documentation-only change — no runtime behavior changes
  • Keeps localhost as the default
  • Provides a clear hint for users hitting socket issues (e.g. DBngin, Docker, non-standard DB setups)

Closes #788

Add commented 127.0.0.1 alternative to .env.example for users
encountering mysqli 2002 / socket connection issues with localhost.

Closes #788

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@retlehs retlehs self-assigned this Mar 8, 2026
@retlehs retlehs merged commit b36267e into master Mar 8, 2026
8 checks passed
@retlehs retlehs deleted the docs/env-example-db-host-note branch March 8, 2026 17:41
xelmido pushed a commit to xelmedia/bedrock-headless-zilch that referenced this pull request Apr 1, 2026
Add commented 127.0.0.1 alternative to .env.example for users
encountering mysqli 2002 / socket connection issues with localhost.

Closes roots#788

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

.env.example could use a better database host

1 participant