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

InfluxDB plugin: remove 'IF NOT EXISTS' from 'CREATE DATABASE' #1370

Closed
alexzorin opened this issue Jun 14, 2016 · 3 comments
Closed

InfluxDB plugin: remove 'IF NOT EXISTS' from 'CREATE DATABASE' #1370

alexzorin opened this issue Jun 14, 2016 · 3 comments

Comments

@alexzorin
Copy link
Contributor

InfluxDB > 0.13 will no longer parse 'IF NOT EXISTS' (and is currently ignoring it) - (influxdata/influxdb#5707).

This affects the Telegraf InfluxDB plugin (

Command: fmt.Sprintf("CREATE DATABASE IF NOT EXISTS \"%s\"", database),
). Making this change, behavior will remain the same for InfluxDB 0.10 and newer, not sure about older.

@arthtux
Copy link
Contributor

arthtux commented Jun 23, 2016

👍
in log on influxdb 0.13
WARNING: IF NOT EXISTS is deprecated as of v0.13.0 and will be removed in v1.0

arthtux added a commit to arthtux/telegraf that referenced this issue Jun 23, 2016
@arthtux
Copy link
Contributor

arthtux commented Jun 23, 2016

#1409 I delete create database reference in plugins/output/influxdb

@danielnelson
Copy link
Contributor

Closing, the IF NOT EXISTS part is no longer in the current influxdb output.

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