专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »DotNet » 数据库连接字符串:.NET连接数据库的字符串 密码数据丢失的解决思路方法(persist security info=true ) »正文

数据库连接字符串:.NET连接数据库的字符串 密码数据丢失的解决思路方法(persist security info=true )

来源: 发布时间:星期六, 2009年3月14日 浏览:0次 评论:0
="t18">连接串如下
server=localhost;user=root;password=123456;database=test;

可是到了连接里面就变成了
server=localhost;user=root;database=test;

然后运行就出现了 Using Password No异常信息

经询问同时应该增加个配置参数persist security info=true;
server=localhost;user=root;password=123456;database=test;persist security info=true;

如果不加则.NET会自动把密码部分去除

http://www.laozizhu.com/view.jsp?articleId=618

0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: