tiberius
tiberius copied to clipboard
`Error: Conversion error: Conversion error: Key-value pairs must be separated by a ;`
Hi! I was playing with the crate but I couldn't get it running, after putting my connection string
static CONN_STR: Lazy<String> = Lazy::new(|| {
env::var("TIBERIUS_TEST_CONNECTION_STRING").unwrap_or_else(|_| {
"Server=tcp:myspecialserver.mycompany.com,1433;Database=DB_MYDB;User Id=myspecialuser;Password=goodpassword".to_owned()
})
});
(I don't use ; in any other place in the string except to separate the keys). Then, when it compiles, cargo runs displays
Error: Conversion error: Conversion error: Key-value pairs must be separated by a `;`
Can you give me some hint? I lookup for that error on the tiberius crate but found nothing about Key-value pairs
I don't know how can I debug this error :(
Any update on this?