Open mprokopov opened 7 years ago
Will mysql accept those extra parameters as properties (instead of URL params)? Korma does pass on any extra keys you might've set to the data source.
I've created pull request for proper support of extra parameters.
While I'm not a maintainer, if the functionality is needed (some drivers might indeed require options be set via the URL), it seems better to handle it in defdb
and make it work for any and all possible databases.
I've commented on your PR, but I appreciate that both it and this issue are quite old.
Is this still a priority issue?
If there hasn't been a response to this issue in 2 weeks, I'll close the ticket.
I had the same problem (timezone) until configure the server correct, the parameters would be great addition if possible to work even if you can't access the servers config.
I faced to following issue with local timezone using mysql http://stackoverflow.com/questions/26515700/mysql-jdbc-driver-5-1-33-time-zone-issue
And I did some workaround for that:
so params string should look something like "//localhost:3306/itservice?useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false", and there is no support for such extra parameters for db-params.