diff --git a/mysql/provider.go b/mysql/provider.go index c945eb8b..6cede4da 100644 --- a/mysql/provider.go +++ b/mysql/provider.go @@ -169,7 +169,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 }