-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revisit how JDBC drivers are loaded #5
Comments
Also, maybe publicize the -d option where you can specify your driver class - that came in handy for us. |
Good point. I've added a simple example in the README. We'll also update the manual at some point. Julian |
i've tried |
@mmiat recently I faced with the similar issue and it looks like sqlline needs url info also otherwise it just silently does nothing.
I added PR to show warning in case of absent url rather than silently do nothing #236 |
It looks like it could be closed as fixed |
I agree, closed. |
Since JDK 1.5, Java automatically loads drivers whose jar contains a META-INF/services/java.sql.Driver. All drivers have this file these days. This task is to (a) check that this mechanism works for MySQL's driver, (b) recommend whether SqlLine.KNOWN_DRIVERS should be removed.
The text was updated successfully, but these errors were encountered: