public boolean checkTables() throws SQLException, ClassNotFoundException {
		sqlClass();
		DatabaseMetaData dbm = sqlCon().getMetaData();
		ResultSet tables;
		if (forumType.equalsIgnoreCase("xenforo")) {
			tables = dbm.getTables(null, null, tablePref + "user", null);
		} else if (forumType.equalsIgnoreCase("smf")
				|| forumType.equalsIgnoreCase("ipb")) {
			tables = dbm.getTables(null, null, tablePref + "members", null);
		} else {
			tables = dbm.getTables(null, null, tablePref + "users", null);
		}
		if (tables.next()) {
			closeCon();
			return true;
		} else {
			closeCon();
			return false;
		}
	}