Hi!

My JAVA+MySQL api worked fine yesterday, but today (when I try to connect to MySQL DB from remote machine) the fllowing erro is produced: Java Result: -805306369 . Although there is e.prinstachtrace() in my code, I received only this message. It happens here:

db =  (Connection) DriverManager.getConnection("jdbc:mysql://" + url + "/" + databasename + "?useUnicode=true&characterEncoding=UTF8",login, pass);

I absolutely don't understand what could happen... Please, urgent help is required!!!

Recommended Answers

All 3 Replies

Java Result: -805306369

This doesn't seems to be full error message. Are you getting anything else?

Is this still happening? If so, could you post more details or code?

It was the only message that I received.

The problem was connected with populating JTree from DB. The JTree component could not be populated correctly, and therefore an error occured. I deleted some entries from DB and now everything works fine. It seems that a collision occured because of trying to add multiple root nodes to JTree.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.