Closed weirdan closed 10 months ago
@weirdan Thanks for postinv the issue. I think simplified the url check in mysql driver in a recent PR. Apparently I missed a few cases. I'll look into this issue as soon as I have some time, meanwhile you can check if an older commit works for you.
For future reference, MySQL DSN, as implemented here, does not include 'protocol' prefix. A working example is user_name:pass_word@tcp(127.0.0.1:3308)/database_name
.
I'm trying to connect to a MySQL server available on localhost on non-standard port.
I've tried the following DSNs (all fail):
user_name:pass_word@tcp(127.0.0.1:3308)/dbname
mysql://user_name:pass_word@tcp(127.0.0.1:3308)/dbname
mysql://user_name:pass_word@127.0.0.1/dbname
This is similar to the #14, but the solution posted there no longer works due to URL parsing check added since it was posted: https://github.com/kndndrj/nvim-dbee/commit/d461eb19031ee2a88c896d372bd110c30f901b93