ํฐ์คํ ๋ฆฌ ๋ทฐ
๐ STUDY/๐ Spring Boot
Spring Boot ์คํ ์ "Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured." ์๋ฌ
๊ตฌ๋์ 2022. 8. 25. 16:48
์ธํ ๋ฆฌ์ ์ด์์ ์ฒ์ ์คํ๋ง๋ถํธ๋ฅผ ์คํํ์ ๋ ์๋ฐ ์๋ฌ๊ฐ ๋ด๋ค.

application.properties ํ์ผ์ ๋ฐ๊ณผ ๊ฐ์ ์ ๋ณด๋ฅผ ์ถ๊ฐ
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/(DB์คํค๋ง)?autoReconnect=true
spring.datasource.username=(DB์์ด๋)
spring.datasource.password=(DB๋น๋ฐ๋ฒํธ)
mysql์ผ ๊ฒฝ์ฐ ์ค๋ฅ ํด๊ฒฐ

'๐ STUDY > ๐ Spring Boot' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๊ณต์ ํ๊ธฐ ๋งํฌ
Comments
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
TAG
- machine learning
- Baekjoon
- ํ๋ก์ธ์ค
- Apache
- ์๊ณ ๋ฆฌ์ฆ
- error
- ๋ฆฌ๋ ์ค
- ์ค์น
- PHP
- Programming
- react-scripts
- C
- bitnami
- ๊ธฐ๊ณํ์ต
- ๋จธ์ ๋ฌ๋
- ๋ฒํผ
- react
- ๋ค์คํ๋ก์ธ์ค
- 9086๋ฒ
- MySQL
- ์ค๋ฅ
- Annotation
- Linux
- SWiFT
- ๋ฐฑ์ค
- SpringBoot
- GIT
- ํ์ผ ์ ์ถ๋ ฅ
- C++
- ํ๋ก๊ทธ๋๋ฐ
- Total
- Today
- Yesterday