Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Unable to Connect to Database - If I read that line one more time...
Post Body

Okay, so I've got a school project due in a couple days that requires I take a file I created and turn it into a database with a GUI, then connect it to the database so I can write to it and read from it, etc. I've got everything done, but no matter what I do, what tutorial I read, I can't get it to connect to the database when I run the program. The GUI comes up ready to accept input, but I get a box that says DB Failure, Unable to Connect to Database. I've entered the login and password info, I've opened the correct port in my firewall, I'm not getting any other errors besides this, and I have no idea where to go from here. I'm including the code for my Connection class HERE. If anyone has any idea what I've done wrong, please let me know ASAP.

EDIT: I should probably mention I'm using a Derby database.

Author
Account Strength
90%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,301
Link Karma
49
Comment Karma
1,244
Profile updated: 9 hours ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
11 years ago