diff --git a/influxdb/client.py b/influxdb/client.py index efb9b761..8146d68d 100644 --- a/influxdb/client.py +++ b/influxdb/client.py @@ -650,7 +650,8 @@ def create_user(self, username, password, admin=False): privileges or not :type admin: boolean """ - text = "CREATE USER {0} WITH PASSWORD '{1}'".format(username, password) + text = "CREATE USER \"{0}\" WITH PASSWORD '{1}'".format(username, + password) if admin: text += ' WITH ALL PRIVILEGES' self.query(text) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy