Here you can find the source of getRssminerDB()
public static Connection getRssminerDB() throws SQLException
//package com.java2s; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class Main { static String JDBC_URL = "jdbc:mysql://localhost/rssminer?cachePrepStmts=true&useServerPrepStmts=true"; public static Connection getRssminerDB() throws SQLException { Connection con = DriverManager.getConnection(JDBC_URL, "feng", ""); return con; }/*from w w w.java 2 s .c o m*/ }