Trouble Creating/Connecting to Derby DB in Eclipse
843859May 26 2010 — edited Nov 20 2014I'm fairly new to JDBC/Derby and have been trying to [follow this tutorial|http://www.vogella.de/articles/EclipseDataToolsPlatform/article.html#createDB].
Unfortunately, I get this error when I finish the "New Derby Connection Profile":
Could not connect to TestDB.
Error creating SQL Model Connection connection to TestDB. (Error: Failed to create database '...\database', see the next exception for details.)
Failed to create database '...\database', see the next exception for details.
Error creating JDBC Connection connection to TestDB. (Error: Failed to create database '...\database', see the next exception for details.)
Failed to create database '...\database', see the next exception for details.
My "derby.jar" file is in "C:\Program Files\Sun\JavaDB\lib".
I created a "Derby" User Library in Eclipse and added it to my Build Path.
I added "Derby Embedded JDBC Driver" version 10.2 to my Driver Definitions.
I'm probably missing something really obvious since this is my first attempt.
I'd really appreciate any help. Thanks.