Skip to content

Commit

Permalink
try updating the test url only
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBaldo committed Nov 21, 2024
1 parent ec3fe17 commit fa60e68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion http/src/main/resources/leo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mysql {
# Changes to mysql.db.driver value must also be reflected in liquibase.properties
driver = "com.mysql.cj.jdbc.Driver"
# Changes to mysql.db.url value must also be reflected in liquibase.properties
url = "${?SQL_URL}&allowPublicKeyRetrieval=true&useSSL=false"
url = ${?SQL_URL}
user = ${?DB_USER}
password = ${?DB_PASSWORD}
connectionTimeout = 5000
Expand Down
4 changes: 2 additions & 2 deletions http/src/test/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# -e MYSQL_USER=leonardo-test \
# -e MYSQL_PASSWORD=leonardo-test \
# -e MYSQL_DATABASE=leotestdb \
# -d -p 3311:3306 mysql/mysql-server:5.6
# -d -p 3311:3306 mysql/mysql-server:8.0

application {
leoGoogleProject = "leo-project"
Expand Down Expand Up @@ -37,7 +37,7 @@ mysql {
port = 3311
db {
driver = "com.mysql.cj.jdbc.Driver"
url = "jdbc:mysql://"${mysql.host}":"${mysql.port}"/leotestdb?createDatabaseIfNotExist=true&useSSL=false&rewriteBatchedStatements=true&nullNamePatternMatchesAll=true"
url = "jdbc:mysql://"${mysql.host}":"${mysql.port}"/leotestdb?createDatabaseIfNotExist=true&&allowPublicKeyRetrieval=true&useSSL=false&rewriteBatchedStatements=true&nullNamePatternMatchesAll=true"
user = "leonardo-test"
password = "leonardo-test"
connectionTimeout = "5 seconds" // default of 1 sec sometimes too short for docker local mysql
Expand Down

0 comments on commit fa60e68

Please sign in to comment.