判断是不是mysql数据库
判断是否mysql数据库
private static boolean isMySQL(Connection conn) throws Exception { if (-1 == conn.getMetaData().getURL().toLowerCase().indexOf("mysql")) { return false; } return true; }