So after many google searches, I still can't figure out how to set up a connectable derby server via Intellij. I do have the Ultimate version, click new project, add a derby remote:
Host: localhost Port: 1527 (or empty) Database: same as projectname
And the username and password are usually simple like 'test' on both. The driver files are installed via Intellij. But when everything is set up and I try to 'Test Connection', I get the following error message:
Connection to testDB failed java.sql.SQLException: The URL 'jdbc:derby://localhost/testDB' is not properly formed.
Where did I go wrong with this?
I had to add the derbyclient.jar to my Library in the Project structure menu in Intellij, and start up the startNetworkServer.bat file inside the db-folder. That fixed the issues I had connecting to a local database. Sorry for the late answer to this issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With