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

  • I need to rotate a pdf in my adobe reader on my android device.

    I am new to using this app on my android and am unable to rotate mydocuments. Also, how do I save highlights and notes? Help me fully utilize this to the fullest!

  • PSE Elements 9 Editor does not recognize scanner

    Mac OS 10.7 Lion. Adobe Photoshop Elements 9 Editor does not recognize my scanner (Epson 3170 Photo) even though scanner shows up in Preferences Print & Fax. Awkward workaround is to scan to desktop and open scan in PSE9.

  • How to Remove Premium Channels Like HBO or Cinemax

    I wanted to document this because nobody should have to go through the hoops I just had to.  Sadly, I'm sure others have gone through much more.  Follow these steps to remove channels you no longer want to pay for, or avoid paying for because their f

  • Printing handouts for a subset of slides

    When I build a course I will have a full eight or nine classes in it. I print handouts for each class. For example 1-15 maybe for class1, and 16-30 for class2 and so forth. With ppt I could print handouts for slides 16-30. Cannot seem to do that with

  • SQL Plus & End with Errors

    In my Process Flow I have a SQL Plus activity that calls a custom DML Express program. How would I trigger the End with Errors activity if my custom DML program errrors out? Currently my SQL Plus activity is as follows: --SET SERVEROUTPUT ON -- PL/SQ