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

For databases, especially mysql, connect over 127.0.0.1 IP address #522

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

parkr
Copy link
Member

@parkr parkr commented Mar 5, 2023

When using 'localhost', mysql2 uses the socket. This is an uncommon setup, so use IP instead.

Fixes #478.

When using 'localhost', mysql2 uses the socket. This is an uncommon setup, so use IP instead.
@parkr parkr requested a review from ashmaroli March 5, 2023 23:40
@ashmaroli
Copy link
Member

Thanks @parkr
@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit 64cd4fe into master Mar 6, 2023
@jekyllbot jekyllbot deleted the replace-localhost-with-ip branch March 6, 2023 11:14
jekyllbot added a commit that referenced this pull request Mar 6, 2023
github-actions bot pushed a commit that referenced this pull request Mar 6, 2023
Parker Moore: For databases, especially mysql, connect over 127.0.0.1 IP address (#522)

Merge pull request 522
@jekyll jekyll locked and limited conversation to collaborators Mar 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mysql connection fails when connecting to localhost. "Can't connect to local MySQL server through socket when"
3 participants