错误:
Authentication to host ‘192.168.1.216’ for user ‘sa’ using method ‘mysql_native_password’ failed with message: Access denied for user ‘sa’@‘DESKTOP-N1IHFC8’ (using password: YES)
翻译:
使用“mysql\u native\u password”方法对用户“sa”的主机“192.168.1.216”进行身份验证失败,消息为:拒绝访问用户“sa”@“DESKTOP-N1IHFC8”(使用密码:YES)
解决方案:我数据库是sqlserver,但是连接的是mysql数据库
所以要把他改为UseSqlServer
由于我没有下载,所以要去依赖项-包-管理NUGet程序包里面下载
同事帮我弄好的哈哈哈,开心子