连接字符串改成这样
"Default": "Server=localhost;Port=3306;Database=***;Uid=root;Pwd=***;SslMode=none;AllowPublicKeyRetrieval=True;"