Skip to content

Commit

Permalink
Merge pull request #11 from ghis22130/mysql-connect
Browse files Browse the repository at this point in the history
feat: Connect database

close #3
  • Loading branch information
kihyuk-sung committed Apr 19, 2021
2 parents f09a558 + 85b96d6 commit f0730eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BE/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
testRuntimeOnly 'com.h2database:h2'
runtimeOnly 'mysql:mysql-connector-java'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
Expand Down
4 changes: 3 additions & 1 deletion BE/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@

spring.datasource.url=jdbc:mysql://localhost:3306/tigerdb
spring.datasource.username=scott
spring.datasource.password=tiger

0 comments on commit f0730eb

Please sign in to comment.