try { String userName = \"root\"; String password = \"\"; // is my database String url = \"jdbc:m
Download the jdbc-mysql driver here.
Include it in your classpath.