The data source name (DSN) scott:tiger@tcp(127.0.0.1:33060)?useTLS=true works (and was tested). However, when we add a slash in front of the ?, scott:tiger@tcp(127.0.0.1:33060)/?useTLS=true, the parsing does not work correctly and useTLS is never set (in this case).
The data source name (DSN)
scott:tiger@tcp(127.0.0.1:33060)?useTLS=true
works (and was tested). However, when we add a slash in front of the?
,scott:tiger@tcp(127.0.0.1:33060)/?useTLS=true
, the parsing does not work correctly and useTLS is never set (in this case).