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

Don't recheck mysqld port if it was provided explicitly. #5383

Merged
merged 1 commit into from
Nov 5, 2019

Commits on Oct 31, 2019

  1. Don't recheck mysqld port if it was provided explicitly.

    At startup, we already avoid asking mysqld for its port if we were given
    the port in DB configs. However, we would forget this port when we later
    trigger a recheck of the MySQL port.
    
    It's important to trust the port that was given to us because it might
    be different from the port that mysqld is actually serving on, such as
    in the case that the host we were given is actually a proxy.
    
    Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
    enisoc committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    2f3d2b1 View commit details
    Browse the repository at this point in the history