• sqlserver 2005 express的连接问题解决了


    一开始management studio可以连通,vs05不行,很是郁闷。
    我在网上很不容易地找到这么一段,终于解决了。不光是要开启TCP协议,重启服务,还要设置端口号,动态端口清空,端口号设置为1433,就成了。原理我也不懂。

    Under "Protocols for SQLEXPRESS", ensure that "TCP/IP" is enabled. Double-click on TCP/IP, set Enabled to Yes, and under the "IP Addresses" tab, clear all the "TCP Dynamic Ports" entries (set them blank), and set TCP Port (under IP All) to 1433. We are fixing the port, which means SQL Browser service can be stopped (in fact, this is a security best practice). You may need to use another port number if you have other versions/instances of SQL Server running.
    分享:practice makes perfect.
  • 相关阅读:
    索引有什么用?
    数据类型的优化策略?
    MySQL的锁策略有什么?
    行锁
    Innodb_lock_waits
    Innodb_locks表
    软件安装笔记
    Spring Boot学习笔记
    AI学习总结
    笔试面试题总结
  • 原文地址:https://www.cnblogs.com/chenge/p/929711.html
Copyright © 2020-2023  润新知