I am trying to export a single table (location) from MySQL database (keep) but i can't do it by using java. Please help me.
preparedStatement = connection.prepareStatement("mysqldump –uroot –proot keep location> db_test.sql");
preparedStatement.execute();
connection.close();
Runtime.getRuntime().i think that is not a sql queryRuntime.getRuntime().exec("C:\\xampp\\mysql\\bin\\mysqldump –u root –proot keep location> db_test.sql");where does it save thanks btw