golistic / pxmysql

Go MySQL driver using X Protocol
MIT License
14 stars 0 forks source link

Query part not considered when no schema but slash given in DSN #12

Closed geertjanvdk closed 1 year ago

geertjanvdk commented 1 year ago

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).