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

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

數(shù)據(jù)庫鏈接問題,求助?

Sun May 15 21:43:48 CST 2016 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

數(shù)據(jù)庫鏈接正常!

正在回答

1 回答

原因是MySQL在高版本需要指明是否進(jìn)行SSL連接。解決方案如下:

在mysql連接字符串url中加入ssl=true或者false即可,如下所示。

url=jdbc:mysql://127.0.0.1:3306/shop?characterEncoding=utf8&useSSL=true


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

貳零一貳 提問者

非常感謝!
2016-06-19 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
JAVA遇見HTML——JSP篇
  • 參與學(xué)習(xí)       248276    人
  • 解答問題       3215    個

Java Web入門級教程JSP,帶你輕松的學(xué)習(xí)JSP基礎(chǔ)知識

進(jìn)入課程

數(shù)據(jù)庫鏈接問題,求助?

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

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

幫助反饋 APP下載

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

公眾號

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