Changeset 32746

Show
Ignore:
Timestamp:
05.02.2019 23:27:47 (3 months ago)
Author:
ak19
Message:

Fix to get MacroniserLogFileProcessor? to run from cmdline (but now won't run from IntelliJ without specifying path to mysql.props file in correct way for IntelliJ)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/the-macronizer/trunk/src/java/util/MySQLAccess.java

    r32745 r32746  
    6060    private String PASSWORD; //= "pinky"; 
    6161 
    62     private final String PROPS_FILENAME = "properties/mysql.properties"; 
     62    private final String PROPS_FILENAME = "mysql.properties"; // set to "properties/mysql.properties" for IntelliJ 
    6363 
    6464    //Makes a connection to the server 
     
    100100 
    101101            int result = statement.executeUpdate("set names utf8mb4"); // should return 0 for SQL stmts that return nothing 
    102  
     102            System.out.println("Connected to MySQL DB " + DB_NAME); 
    103103            success = true; 
    104104        } catch (SQLException e) {