Changeset 32743

Show
Ignore:
Timestamp:
04.02.2019 22:00:11 (3 months ago)
Author:
ak19
Message:

Updating comments on how to run the MySQLAccess.java class.

Files:
1 modified

Legend:

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

    r32742 r32743  
    2828 * 2. tikauka:[120]/Scratch/wjkw1>mv MySQLAccess.java sql/. 
    2929 * 3. tikauka:[122]/Scratch/wjkw1>javac sql/MySQLAccess.java * 
    30  * 4. tikauka:[144]/Scratch/wjkw1>java -cp "/Scratch/wjkw1/mysql-connector-java-8.0.14/mysql-connector-java-8.0.14.jar:." sql.MySQLAccess 
     30 * 4. tikauka:[144]/Scratch/wjkw1>java -cp "/PATH/TO/mysql-connector-java-8.0.14/mysql-connector-java-8.0.14.jar:/MYSQL.PROPS/PARENTFOLDER:." sql.MySQLAccess 
    3131 *    (If no classpath, then: tikauka:[123]/Scratch/wjkw1>java sql.MySQLAccess) 
     32 *    Note that /MYSQL.PROPS/PARENTFOLDER is the parent folder of file mysql.properties, it should have been automatically 
     33 *    created in macronizer's web/WEB-INF/CLASSES after the Macroniser's build.xml has run. 
     34 *    In mysql.properties: 
     35 *    -the db.password has to be changed from CHANGEME. (Can be empty string if your mysql account uses no pwd.) 
     36 *    - can set db.username too if you don't want it to default to "root". 
    3237 */ 
    3338public class MySQLAccess {