Library-Management-System-JAVA icon indicating copy to clipboard operation
Library-Management-System-JAVA copied to clipboard

Getting this error while connecting new connection wizard

Open Shreekesh27 opened this issue 3 years ago • 1 comments

Cannot establish a connection to jdbc:derby://localhost:1527/LMS using org.apache.derby.jdbc.ClientDriver (DERBY SQL error: ERRORCODE: 40000, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'LMS' with class loader sun.misc.Launcher$AppClassLoader@1d44bcfa, see the next exception for details.::SQLSTATE: XSLAN)

What should i do??

Shreekesh27 avatar Sep 05 '22 13:09 Shreekesh27

I discovered a solution for a connection issue I was having. I first rewrite the makeConnection() method, inside the class I locate host, uName, and uPass then rewrite it based on your port and database description. then it works perfectly.

jomariabejo avatar Mar 08 '23 00:03 jomariabejo