public void SendQuery(String query)  {
		String url = "jdbc:"+serverAdd+"/" + dataBaseName;
		Connection conn;
		Statement stmt;
		vals = new ArrayList<ArrayList<String>>();
		try {
			Class.forName("com.mysql.jdbc.Driver").newInstance();
			conn = DriverManager.getConnection(url, userName, password);
			stmt = conn.createStatement();
			ResultSet rs = stmt.executeQuery(query);
			cols = new ArrayList<String>();
			for (int i = 1; i <= rs.getMetaData().getColumnCount(); i++) {
				cols.add(rs.getMetaData().getColumnName(i));
			}
			ArrayList<String> temp = null;
			while (rs.next()) {
				temp = new ArrayList<String>();
				for (int i = 1; i <= cols.size(); i++) {
					temp.add(rs.getString(i));
				}
				vals.add(temp);
			}
			conn.close();
			stmt = null;
			conn = null;
		} catch (Exception  e) {
			e.printStackTrace();
		}

	}