User Tools

Site Tools


unraid:dockers:tomcat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unraid:dockers:tomcat [2023/08/20 16:13] – [App Settings] dirkunraid:dockers:tomcat [2023/08/20 20:14] (current) – [Add football season] dirk
Line 37: Line 37:
     * Note2: MUST CHANGE import javax.servlet.* to import jakarta.servlet.* in all the .java files under the WEB-INF folder before compiling with above.     * Note2: MUST CHANGE import javax.servlet.* to import jakarta.servlet.* in all the .java files under the WEB-INF folder before compiling with above.
     * Restart     * Restart
 +
 +==== Add football season ====
 +<code>docker cp /mnt/user/backup/webpage/mysql/2023o.csv mysql:/var/lib/mysql-files/</code>
 +<code>mysql --local-infile=1 -uUSERNAME -p
 +use DB;
 +LOAD DATA LOCAL INFILE "2023o.csv" INTO TABLE games_nfl COLUMNS TERMINATED BY ',';
 +UPDATE games_nfl SET vscore = NULL where year = 2023;
 +UPDATE games_nfl SET hscore = NULL where year = 2023;</code>
 +
unraid/dockers/tomcat.1692565987.txt.gz · Last modified: by dirk