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!!!

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.

Edited 5 Years Ago by LianaN: n/a

This question has already been answered. Start a new discussion instead.