I\'m trying to connect to a database I created with MySQL in my Java program, but it always fails.
For the sake of example, here is my code:
import j
Sounds like a potential version mismatch or outdated client. When you run it outside the IDE you may be pulling in the wrong version. I'd make sure the client is on the latest version or similar to the version used by the server.