Changeset 32746


Ignore:
Timestamp:
2019-02-05T23:27:47+13:00 (5 years 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)

File:
1 edited

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) {
Note: See TracChangeset for help on using the changeset viewer.