ํฐ์คํ ๋ฆฌ ๋ทฐ
๐ 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
- Linux
- ๋ฐฑ์ค
- react-scripts
- MySQL
- C
- ์๊ณ ๋ฆฌ์ฆ
- error
- ํ์ผ ์ ์ถ๋ ฅ
- PHP
- Baekjoon
- bitnami
- ์ค๋ฅ
- ์ค์น
- 9086๋ฒ
- ๋ฆฌ๋ ์ค
- SpringBoot
- ๋ค์คํ๋ก์ธ์ค
- react
- ํ๋ก์ธ์ค
- SWiFT
- ๋จธ์ ๋ฌ๋
- Annotation
- GIT
- Programming
- ๊ธฐ๊ณํ์ต
- C++
- machine learning
- ๋ฒํผ
- Apache
- ํ๋ก๊ทธ๋๋ฐ
- Total
- Today
- Yesterday