public static void insert(String eDatabase, String table, byte[] etuple, String VALUES){
		 Connection gCon = null; // general connection to MYSQL
		 Connection eCon = null; // connection to database

		 Statement eStatement = null; // statements for the eDatabase


		 try{
			 // Register JDBC driver
			 Class.forName(DBConfig.driver);

			 // Connect and initialize statements for General MYSQL and eDatabase
			 System.out.println("Connecting to MYSQL...");
			 gCon = DriverManager.getConnection(DBConfig.url, DBConfig.user, DBConfig.password);
			 eCon = DriverManager.getConnection(DBConfig.url + eDatabase, DBConfig.user, DBConfig.password);
			 eStatement = eCon.createStatement();

			 if (!DatabaseProcess.checkDBExists(gCon,eDatabase)) {
				 Exception e = new Exception("Requested database "+eDatabase+" doesn't exist");
				 throw(e);
			 }
			 
			 String query = "INSERT INTO "+table + " VALUES(?,"+VALUES+");";
			 PreparedStatement ps = eCon.prepareStatement(query);
			 ps.setBytes(1, etuple);
			 ps.executeUpdate();
			 

			 //eStatement.executeUpdate("INSERT INTO "+table + " VALUES(?,"+VALUES+");");

			 // Handle possible errors
		 }catch(SQLException se){
			 //Handle errors for JDBC
			 se.printStackTrace();
		 }catch(Exception e){
			 e.printStackTrace();
		 }finally{
			 //finally block used to close resources
			 try{
				 if((eStatement!=null)) {
					 eStatement.close();
				 }
			 }catch(SQLException se2){
			 }// nothing we can do
				 try{
					 if(eCon !=null || gCon != null ) {
						 eCon.close();
						 gCon.close();
					 }
				 }
				 catch(SQLException se){
					 se.printStackTrace();
				 }
		 }
		 System.out.println("Goodbye!");
	 }