try {
DatabaseConnector connector = new DatabaseConnectorFactory().getConnector(org.dbwiki.lib.IO.loadProperties(new File(args[0])));
System.out.print("Do you want to drop all wikis (Y, N): ");
String answer = (new BufferedReader(new InputStreamReader(System.in))).readLine().toUpperCase();
connector.dropServer(answer.equalsIgnoreCase("Y"));
} catch (Exception exception) {
exception.printStackTrace();
System.exit(0);
}
}