try { String userName = \"root\"; String password = \"\"; // is my database String url = \"jdbc:m
To use the MYSQL Driver (Connector/J) you will need to download it from MySQL Connectors and put it in your classpath.