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

Handle Amazon Aurora/RDS DNS "Connection Lost" messages #25289

Closed
wants to merge 1 commit into from

Conversation

ctchurch
Copy link

Using Amazon Aurora, laravel throws PDO occasionally like:

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

When these happen, existing retry logic should be engaged. We're using 5.4 (for php compatibility reasons), so PR is against that version.

@GrahamCampbell GrahamCampbell changed the base branch from 5.4 to 5.5 August 22, 2018 12:06
@GrahamCampbell GrahamCampbell changed the base branch from 5.5 to 5.4 August 22, 2018 12:06
@GrahamCampbell
Copy link
Member

Thanks for the PR. But 5.4 is not maintained anymore. We can accept this to 5.5 and 5.6+ though. I'll prep a PR to that affect.

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.

None yet

2 participants