摘要: cmd:winrm set winrm/config/client @{TrustedHosts="IP"} -sqlquerystring (Get-Content -path c:\mysql.sql) C.In PowerShell multiple Write statements are available. The two statements I want to address are Write-Host and Write-Output.What do these two do?Write-Host: Writes customized output to 阅读全文
posted @ 2012-03-02 11:14 qqliukk 阅读(254) 评论(0) 推荐(0) 编辑
摘要: sql连接语句中的Integrated Security=SSPI/ture/false关于sql连接语句中的Integrated Security=SSPI 解决方法: 即:Security Support Provider Interface 设置Integrated Security为 True 的时候,连接语句前面的 UserID, PW 是不起作用的,即采用windows身份验证模式。 只有设置为 False 或省略该项的时候,才按照 UserID, PW 来连接。 Integrated Security 可以设置为: True, false, yes, no ,这四个的意思很明白了 阅读全文
posted @ 2012-03-02 11:02 qqliukk 阅读(394) 评论(0) 推荐(0) 编辑