Changeset 32743
- Timestamp:
- 2019-02-04T22:00:11+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/the-macronizer/trunk/src/java/util/MySQLAccess.java
r32742 r32743 28 28 * 2. tikauka:[120]/Scratch/wjkw1>mv MySQLAccess.java sql/. 29 29 * 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.MySQLAccess30 * 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 31 31 * (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". 32 37 */ 33 38 public class MySQLAccess {
Note:
See TracChangeset
for help on using the changeset viewer.