SqlSugar连接数据库报错 返回

SqlSugar 老数据
3 743

SqlSugar.SqlSugarException:“中文提示 :  连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,错误信息:用户 'sa' 登录失败。.

English Message : Connection open error . 用户 'sa' 登录失败。” 连结数据sa的密码都是正确的



热忱回答3

  • 大微 大微 VIP0
    2022/11/24

    连接字符串发出来瞅瞅

    0 回复
  • SqlSugar.SqlSugarException:“中文提示 :  连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,错误信息:A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。).

    English Message : Connection open error . A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)”


    0 回复
  • fate sta fate sta VIP0
    2022/11/24

    new SqlConnection(db.CurrentConfig.ConnectionString).Open()

     原生进行测试 是否能连接上

    0 回复