try { String userName = \"root\"; String password = \"\"; // is my database String url = \"jdbc:m
It seems that you should put your MySQL driver jar into your classpath.