Fixed out-of-date MYSQL driver reference not working in the new environment.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -27,5 +27,10 @@
|
||||
<version>4.13.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.30</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user