diff --git a/mysql/provider.go b/mysql/provider.go index 256b6e61..7ddb2fe5 100644 --- a/mysql/provider.go +++ b/mysql/provider.go @@ -157,7 +157,7 @@ func makeDialer(d *schema.ResourceData) (proxy.Dialer, error) { if err != nil { return nil, err } - proxy, err := proxy.FromURL(proxyURL, proxyFromEnv) + proxy, err := proxy.FromURL(proxyURL, proxy.Direct) if err != nil { return nil, err }