From 5a0bbbbbe7382c83473f4170f48fafca52929608 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 15 Sep 2022 16:16:11 -0600 Subject: [PATCH] hotfix: update sql driverName param, closes influxdata/DAR#328 --- content/flux/v0.x/query-data/sql/_index.md | 2 +- content/flux/v0.x/write-data/sql/_index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/flux/v0.x/query-data/sql/_index.md b/content/flux/v0.x/query-data/sql/_index.md index a32b9081c..e6655ef1d 100644 --- a/content/flux/v0.x/query-data/sql/_index.md +++ b/content/flux/v0.x/query-data/sql/_index.md @@ -105,7 +105,7 @@ Given the following **example_table** in a MySQL database: import "sql" sql.from( - driver: "mysql", + driverName: "mysql", dataSourceName: "username:passwOrd@tcp(localhost:3306)/db", query: "SELECT ID, Name FROM example_table", ) diff --git a/content/flux/v0.x/write-data/sql/_index.md b/content/flux/v0.x/write-data/sql/_index.md index 506e0f7a6..be4914b27 100644 --- a/content/flux/v0.x/write-data/sql/_index.md +++ b/content/flux/v0.x/write-data/sql/_index.md @@ -112,7 +112,7 @@ import "sql" data |> sql.to( - driver: "mysql", + driverName: "mysql", dataSourceName: "username:passwOrd@tcp(localhost:3306)/db", table: "exampleTable" )