Skip to content

Commit 91f4d3d

Browse files
added mysql service account
1 parent 9a5a104 commit 91f4d3d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CREATE USER 'springframework'@'localhost' IDENTIFIED BY 'guru';
2+
3+
GRANT SELECT ON springguru.* to 'springframework'@'localhost';
4+
GRANT INSERT ON springguru.* to 'springframework'@'localhost';
5+
GRANT DELETE ON springguru.* to 'springframework'@'localhost';
6+
GRANT UPDATE ON springguru.* to 'springframework'@'localhost';
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
guru.springframework.profile.message=This is my QA Profile
22

33
spring.datasource.url=jdbc:mysql://localhost:3306/springguru
4-
spring.datasource.username=root
5-
spring.datasource.password=
4+
spring.datasource.username=springframework
5+
spring.datasource.password=guru
66

77
spring.jpa.hibernate.ddl-auto=update

0 commit comments

Comments
 (0)