the con variable should look something like this
Connection con = DriverManager.getConnection ("jdbc:mysql://localhost/database name","user name for database","password");
Type: Posts; User: mDennis10
the con variable should look something like this
Connection con = DriverManager.getConnection ("jdbc:mysql://localhost/database name","user name for database","password");
your problems is that u need to create a object to connect to the data base. it should look something like this
Connection conn = DriverManager.getConnection ("jdbc:mysql://where database...