Skip to content

Commit 09fa700

Browse files
committed
#6 - adjust mysql local creds
1 parent 8f71d87 commit 09fa700

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

biometric-nbi/src/kubernetes/mysql-secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ metadata:
88
namespace: mysql
99
type: kubernetes.io/basic-auth
1010
stringData:
11-
password: password
11+
password: root
1212

biometric-nbi/src/main/resources/application.properties

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ server.port=8080
1010
#spring.jpa.hibernate.ddl-auto=create-drop
1111
spring.jpa.hibernate.ddl-auto=none
1212
#spring.jpa.properties.hibernate.globally_quoted_identifiers=true
13-
spring.datasource.url=jdbc:mysql://192.168.0.105:3506/biometric
14-
#spring.datasource.url=jdbc:mysql://127.0.0.1:3506/biometric
13+
#spring.datasource.url=jdbc:mysql://192.168.0.105:3506/biometric
14+
#spring.datasource.username=root
15+
#spring.datasource.password=root
16+
#spring.datasource.url=jdbc:mysql://localhost:3506/biometric
17+
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/biometric
1518
spring.datasource.username=root
16-
spring.datasource.password=root
19+
spring.datasource.password=password
1720
# deprecated
1821
#spring.datasource.driverClassName=com.mysql.jdbc.Driver
1922
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
23+
#spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
2024

2125
# override auto conversion of tsStart to ts_start
2226
# see https://stackoverflow.com/questions/25283198/spring-boot-jpa-column-name-annotation-ignored

0 commit comments

Comments
 (0)