influxdata / influxdata/influxdb
MS SQL server dataSourceName give me (invalid character "\\" in host name)
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Hello
I am trying to get data from SQL server using flux code but i have a problem with the connection string (dataSourceName)
my server name is "Ip\name" and when trying to write it i am duplicating the "\" character to be like this "Ip\\name" and the result is
'invalid character "\\" in host name'
Contributor guide
Research direction
Start by reproducing the Flux dataSourceName connection with the SQL Server host written as Ip\\name, then trace how the dataSourceName value is parsed and validated. Done means determining whether this host format is supported and documenting or correcting the resulting invalid-character behavior, with a regression test if the repository provides coverage for this entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100