在dotnet核心应用程序的此winrt版本中不支持SSL [英] SSL not supported in this winrt release in dotnet core application

查看:125
本文介绍了在dotnet核心应用程序的此winrt版本中不支持SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在VS 2015中使用dotnet核心应用程序连接MySQL.

我得到了

Hi,

I am trying to connect to MySQL using dotnet core application in VS 2015.
I am getting "

SSL not supported in this WinRT release

错误。



您能否告诉我为什么会遇到此问题?



我尝试了什么:



我的连接字符串位于以下我的appsettings.json文件:





" error.

Can you please let me know why I am getting this issue?

What I have tried:

I have below connection string in my appsettings.json file:


{
  "ApplicationInsights": {
    "InstrumentationKey": ""
  },
  "ConnectionStrings": {
    "DefaultConnection": "Server=192.168.3.233;port=3306;Database=softwebcrm;Uid=softweb;Pwd=softweb#123;"
  },
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information"
    }
  }
}

推荐答案

MySQL Connector不支持WinRT的SSL。

在连接字符串中添加'SslMode = None'以解决问题......
MySQL Connector does not support SSL for WinRT.
Add 'SslMode=None' to your connection string to resolve the problem...


这篇关于在dotnet核心应用程序的此winrt版本中不支持SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆