-
Notifications
You must be signed in to change notification settings - Fork 477
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
fix: fixed swoole extension that gets the SQLSTATE[08006] error #715
Conversation
Moved the swoole instalation to pecl instead using the ppa
Will need more community feedback and confirmation. |
Edit: (removed my first confirming answer): I didn't get it finally running with this solution. To use swoole this solution seems not to be enough because the extension is not enabled after installation with pecl. You still have to add extension=swoole.so to the php.ini If anybody gets it running out of the box, I appreciate the solution... In the end, it seems to be only a temporary hiccup. swoole already fixed this issue here: swoole/swoole-src#5396 |
Had the same issue and just found out this thread. Doing Found out thanks to this stack overflow issue Step to reproduce the issue (basically my use case)
|
Oh nice, I will add this to the PR, I did not get this error even using swoole on my service |
I can confirm, after the last change it works fine with octane environments !! |
This solution worked very well for me |
But why are we permanently pinning a specific version of Swoole here? |
Because the version of swoole in the apt repository is 6.0.0 that is in alpha, and that still got bugs, so the solution was to downgrade the swoole to get the LTS |
Happened to me as well. I was just installing a Fresh Laravel 8.3 app using Laravel Forge (connecting to a RDS Postgres db) and got the same error. I then executed the delete command as follows and it solved the problem for me.
|
Description
While working on my server, I encountered the error
SQLSTATE[08006]
, which is caused by the Swoole extension installed through the PPA. To resolve this issue, I reinstalled Swoole using PECL, which resolved the connection problem.My reference to solve the problem: https://stackoverflow.com/questions/78669556/possible-bug-with-php-pdo-and-with-postgresql