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

CREATE USER query fails if user already exists #5835

Closed
bbinet opened this issue Feb 25, 2016 · 2 comments
Closed

CREATE USER query fails if user already exists #5835

bbinet opened this issue Feb 25, 2016 · 2 comments
Assignees
Milestone

Comments

@bbinet
Copy link
Contributor

bbinet commented Feb 25, 2016

As stated on #5360 (comment) the if not exists behavior should now be the default for all create statements, but when I try to create a user that already exists with influxdb nightly build (version 0.11.0.n1456300834, branch master, commit e32e5ff, built 2016-02-24T08:01:27.779046), it does not work:

> CREATE USER u_a WITH PASSWORD 'u_a'
[query] 2016/02/24 13:32:37 CREATE USER u_a WITH PASSWORD [REDACTED]
[http] 2016/02/24 13:32:37 127.0.0.1 - root [24/Feb/2016:13:32:37 +0000] GET /query?db=_internal&epoch=ns&q=CREATE+USER+[REDACTED]+WITH+PASSWORD+%27[REDACTED]%27 HTTP/1.1 200 68 - InfluxDBShell/0.11.0.n1456300834 11a9392a-dafb-11e5-800d-000000000000 140.748357ms
ERR: user already exists
@jwilder jwilder added this to the 0.11.0 milestone Feb 25, 2016
@e-dard e-dard self-assigned this Mar 7, 2016
@bbinet
Copy link
Contributor Author

bbinet commented Mar 14, 2016

I've just noticed the category/clustering label, but I think this issue is not related to clustering since the CREATE USER query failed for a standalone InfluxDB.

@e-dard
Copy link
Contributor

e-dard commented Mar 14, 2016

FIxed via #6010

@e-dard e-dard closed this as completed Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants