Advertisement
Guest User

Untitled

a guest
Oct 12th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. spring.jpa.show-sql=true
  2. spring.jpa.database=mysql
  3.  
  4. spring.datasource.url=jdbc:mysql://localhost/users
  5. spring.datasource.data-username=root
  6. spring.datasource.data-password=12345
  7. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  8.  
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  12. <java.version>1.8</java.version>
  13. </properties>
  14.  
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-data-jpa</artifactId>
  19. </dependency>
  20.  
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25.  
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-test</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31.  
  32. <dependency>
  33. <groupId>mysql</groupId>
  34. <artifactId>mysql-connector-java</artifactId>
  35. <scope>runtime</scope>
  36. </dependency>
  37. </dependencies>
  38.  
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-maven-plugin</artifactId>
  44. </plugin>
  45. </plugins>
  46. </build>
  47.  
  48. GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '12345';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement