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
mysql not connecting #34
Comments
hi, try ip address that solved my problem. regards, |
I can confirm that works :). So someone needs to implement/fix DNS lookups, and also spit out error messages on failure. |
Most mysql configurations use sockets rather than tcp. In PHP when localhost is used in the background it uses the socket value which in our case is an empty string hence the error. Reported to internal ticket 178091 to be fixed. |
Fixed now |
Summary: We have the following situation: `tv_env` is ``` int, #34 <: +-#23 -#34 <: #23 ``` and we want to solve for `#34`. So `#34 := #23` (the upper bound), leaving ``` int, #23 <: +-#23 ``` after substitution. When we come to solve `#23`, we fail with an occurs check. Now we shouldn't end up in this situation at all: when we solve for `#34` we should remove any lower bounds on `#23` that are the variable `#34`. This generalizes to the situation (in future) where we construct an intersection from multiple upper bounds, and is precisely analogous to the optimization already performed for unions of lower bounds by D13671163. Reviewed By: manzyuk Differential Revision: D13784647 fbshipit-source-id: 443bb8e0a510a19e972d8aee4b7a06a596a73577
mysql_connect is failing for me silently. I supress it's output, but I turned on the option to view supressed errors and nothing was shown.
This problem is made worse by issue 33 -- I may have a real error in my config (not sure what though!) but mysql_error cannot be used to show errors either.
The text was updated successfully, but these errors were encountered: