Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without

Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without fouling everything up?

Ok, well you'll need to do something like this. Now this part is a little dependent on your database server:
       try {
            Class.forName("org.gjt.mm.mysql.Driver").newInstance();
            Connection c = DriverManager.getConnection(
                                                       "jdbc:mysql://{database-server}/{database-name}:3306?user={username}&password={password}");
            Statement Stmt = c.createStatement();
            int count = Stmt.executeUpdate(cmd);
            if(count>0) {
                 System.out.println("count: " + count);
        } catch (Exception e) {
            e.printStackTrace();
    }That was some sample code for a MySQL database.
Note that the applet can only contact the server that is was loaded from, so you might want to do a getCodeBase() or something like that to get the server address.
Hope this is helpful.

Similar Messages

Maybe you are looking for