diff --git a/django/db/backends/mysql/client.py b/django/db/backends/mysql/client.py index 24dc642abe..1cf8ceef9c 100644 --- a/django/db/backends/mysql/client.py +++ b/django/db/backends/mysql/client.py @@ -27,7 +27,7 @@ class DatabaseClient(BaseDatabaseClient): if '/' in host: args += ["--socket=%s" % host] else: - args += ["--host=%s" % host] + args += ["--host=%s" % host] if port: args += ["--port=%s" % port] if db: