String url1 = "jdbc:mariadb://" + Server + ":" + myport + "/" + MoviesBase; try { Connection conn1 = DriverManager.getConnection(url1, MasterUser, MasterPassword); Statement stmt = conn1.createStatement(); String exeCmd = "truncate table " + films[igenre] + " ;" ; stmt.executeUpdate(exeCmd); stmt.executeUpdate("FLUSH PRIVILEGES;"); stmt.close(); conn1.close(); } catch (SQLException e) { System.out.println(mf.print(alivef, String.format("e : %s", e))); }
# yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo http://localhost:5984/_utils/ # login