Hi
I am unable to connect mysql server through jar execution file. But when I am trying to connect through java class file directly(instead of putting in jar file), it is very well connected.
I am not able to understand where I am wrong. Please help.

you're wrong to ask that here for starters.

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.