hotfix: update sql driverName param, closes influxdata/DAR#328

pull/4462/head
Scott Anderson 2022-09-15 16:16:11 -06:00
parent c4c5d9d1e9
commit 5a0bbbbbe7
2 changed files with 2 additions and 2 deletions

View File

@ -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",
)

View File

@ -112,7 +112,7 @@ import "sql"
data
|> sql.to(
driver: "mysql",
driverName: "mysql",
dataSourceName: "username:passwOrd@tcp(localhost:3306)/db",
table: "exampleTable"
)