Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spring.jpa.show-sql=true
- spring.jpa.database=mysql
- spring.datasource.url=jdbc:mysql://localhost/users
- spring.datasource.data-username=root
- spring.datasource.data-password=12345
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>1.8</java.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '12345';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement