We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5a104 commit 91f4d3dCopy full SHA for 91f4d3d
src/main/SQL/mysql-service-account.sql
@@ -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';
src/main/resources/application-qa.properties
@@ -1,7 +1,7 @@
guru.springframework.profile.message=This is my QA Profile
spring.datasource.url=jdbc:mysql://localhost:3306/springguru
-spring.datasource.username=root
-spring.datasource.password=
+spring.datasource.username=springframework
+spring.datasource.password=guru
7
spring.jpa.hibernate.ddl-auto=update
0 commit comments