亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何連接安裝了ssl證書的mysql?

如何連接安裝了ssl證書的mysql?

守候你守候我 2018-08-20 10:09:41
Data Source=rm-wz9yj5x8e1***;Initial Catalog=***;user id=***;password=***;Convert Zero Datetime=True;CertificateFile=E:\mysqlssl\ApsaraDB-CA-Chain\ApsaraDB-CA-Chain.pem;CertificatePassword=***;SslMode=Required;報錯  An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure.數據庫用的是阿里云的ssl證書 RDS mysql數據庫,阿里云下載證書包含pem、p7b、jks三種格式,只讀賬號不需要ssl證書,測試可以連接,讀寫賬號需要ssl證書以上是證書連接方式。請較各位大神,求解
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 752 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號