第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

這個(gè)報(bào)錯(cuò),數(shù)據(jù)庫沒連上?用戶名密碼還有URL都是對的

com.alibaba.druid.pool.DruidDataSource? ?: create connection error, url: jdbc:mysql://127.0.0.1:3306/dbgirl?characterEncoding=utf8&useSSL=true, errorCode 1045, state 28000


配置文件

spring.datasource.driver-class-name=com.mysql.jdbc.Driver

spring.datasource.url=jdbc:mysql://127.0.0.1:3306/dbgirl?characterEncoding=utf8&useSSL=true

spring.datasource.data-username=root

pring.datasource.data-password=root

spring.datasource.druid.initial-size=1

spring.datasource.druid.min-idle=1

spring.datasource.druid.max-active=20

spring.datasource.druid.test-on-borrow=true

spring.datasource.druid.stat-view-servlet.allow=true


正在回答

2 回答

有對應(yīng)的數(shù)據(jù)庫和啟動(dòng)mysql服務(wù)嗎?

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

晴顏 提問者

數(shù)據(jù)庫有的,在別的項(xiàng)目上都可以使用的
2018-08-14 回復(fù) 有任何疑惑可以回復(fù)我~

spring.datasource.data-username=root

pring.datasource.data-password=root

配置不對,應(yīng)該是

spring.datasource.username=root

pring.datasource.password=root

小細(xì)節(jié),折騰好久


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

這個(gè)報(bào)錯(cuò),數(shù)據(jù)庫沒連上?用戶名密碼還有URL都是對的

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)