package Database;

/**
 * This class stores a MySQL credential constants
 */
public enum Config {

    /**
     * Username to MySQL database
     */
    USERNAME("root"),

    /**
     * Password to MySQL database
     */
    PASSWORD("codeKenn"),

    /**
     * Location to MySQL database
     */
    URL("jdbc:mysql://localhost:3306"),

    /**
     * MySQL database to establish connection
     */
    DATABASE("reactiondbtest2"),

    /**
     * MySQL table to query
     */
    TABLE("reactions");

    private String CONSTANT;

    /**
     * Construct this class
     *
     * @param CONSTANT to be set
     */
    private Config(String CONSTANT) {
        this.CONSTANT = CONSTANT;
    }

    @Override
    public String toString() {
        return CONSTANT;
    }
}

@@ -423,13 +423,8 @@
 ondb
-test2
 %22),%0A

Replace database 'reactiondbtest3' with 'reactiondb'