BioBytes Messages: 307 Registered: October 2008 Location: France
Senior Member
Thank you Mirek for your reply.
Yes the connection to the MySql server is ok on these 3 machines. I have tested it using a Java version of my application developped under Eclipse (Ganynmede).
The different queries are controlled in specific functions using their local MySqlSession object which is closed when the data are retrieved for other treatment. If I suppress the first connection to the database, the app does not crash and I get the possibility to access to other queries. The first I clicked on is working and as I closed it to ask for another, the program crashes again. I think it comes from MySqlSession objects : perhaps I misuse them but it does not explain why it worfs fine on the other 5 XP pro machines and 1 Windows 2000 Pro PC.
I join a bit of code (the first function to enter the database ("Papyrus") after clicking open connection item in the main menu.