Skip to content

Commit

Permalink
uf
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamv108 committed Aug 28, 2023
1 parent ebefcbf commit 24baf55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ services:
image: 'mysql:latest'
environment:
- 'MYSQL_DATABASE=sse'
- 'MYSQL_PASSWORD=root1234'
# - 'MYSQL_PASSWORD=root1234'
- 'MYSQL_ROOT_PASSWORD=root1234'
- 'MYSQL_USER=server'
# - 'MYSQL_USER=root'
ports:
- '3306:3306'

Expand Down
2 changes: 1 addition & 1 deletion k8s/mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
# name: mysql-pass-root
# key: password
- name: MYSQL_USER
value: server
value: root
- name: MYSQL_PASSWORD
value: root1234
# valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url=jdbc:mysql://mysql.mysql.svc:3306/sse?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false&autoReconnect=true&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
spring.datasource.username=server
spring.datasource.username=root
spring.datasource.password=root1234
## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database
Expand Down

0 comments on commit 24baf55

Please sign in to comment.