julianhyde / sqlline

Shell for issuing SQL to relational databases via JDBC
BSD 3-Clause "New" or "Revised" License
615 stars 145 forks source link

No known driver to handle "jdbc:mysql://localhost: #475

Open litterbug23 opened 2 years ago

litterbug23 commented 2 years ago

No known driver to handle "jdbc:mysql://localhost:

julianhyde commented 2 years ago

Is the JAR file for the MySQL driver on the class path? You may need to edit the sqlline shell script to add it.

eostermueller commented 1 month ago

Keep in mind this advice from SO [1]:

use either -jar or -cp, you can't combine the two

I've detailed a way around this here [2]

[1] https://stackoverflow.com/a/15930980/2377579 [2] https://github.com/julianhyde/sqlline/issues/74