diff --git a/gemp-lotr/docker/readme.txt b/gemp-lotr/docker/readme.txt index 76fc72e40..a99c41b1e 100644 --- a/gemp-lotr/docker/readme.txt +++ b/gemp-lotr/docker/readme.txt @@ -29,7 +29,7 @@ gemp_app is slightly more complicated. Gemp is a Java server, is built using Ma 4C- note the two "published" ports: 17001 for the app, and 35001 for the db. These are the ports that you will be accessing the site with (and the db if you connect with a database manager). If you are hosting this for something other than personal development, consider changing these to something else. DO NOT change the "target" ports. -5- If you changed SQL credentials in step 4, navigate to gemp-lotr/gemp-lotr/gemp-lotr-commond/src/main/resources/ and open gemp-lotr.properties: +5- If you changed SQL credentials in step 4, navigate to gemp-lotr/gemp-lotr/gemp-lotr-common/src/main/resources/ and open gemp-lotr.properties: 5A- DO NOT CHANGE the ports here. These ports listed are the "target" ports in step 4C, which you didn't edit because you followed the big "DO NOT" imperative. diff --git a/gemp-lotr/gemp-lotr-common/pom.xml b/gemp-lotr/gemp-lotr-common/pom.xml index 5d7bc0f30..e77556486 100644 --- a/gemp-lotr/gemp-lotr-common/pom.xml +++ b/gemp-lotr/gemp-lotr-common/pom.xml @@ -27,5 +27,10 @@ 4.13.2 test + + mysql + mysql-connector-java + 8.0.30 + \ No newline at end of file diff --git a/gemp-lotr/gemp-lotr-common/src/main/resources/gemp-lotr.properties b/gemp-lotr/gemp-lotr-common/src/main/resources/gemp-lotr.properties index 16a2cbd53..3336bd60b 100644 --- a/gemp-lotr/gemp-lotr-common/src/main/resources/gemp-lotr.properties +++ b/gemp-lotr/gemp-lotr-common/src/main/resources/gemp-lotr.properties @@ -2,7 +2,7 @@ application.root=/etc/gemp-lotr ## DB connection -db.connection.class=org.gjt.mm.mysql.Driver +db.connection.class=com.mysql.jdbc.Driver db.connection.url=jdbc:mysql://db:3306/gemp_db db.connection.username=gempuser db.connection.password=gemppassword