Home > Database > Mysql Tutorial > body text

SQL2005的默认端口的修改方法

WBOY
Release: 2016-06-07 18:05:07
Original
1132 people have browsed it

如果服务器的TCP端口更改为其他的端口,那么在客户端的配置工具中需要做如下的设置

1、默认端口
SQL Server的默认TCP端口是1433,UDP端口是1434。2005连接串为
Provider=SQLNCLI.1;Persist Security Info=True;User ID=****;Password=**;Initial Catalog=tablename;Data Source='http://www.qichepeijian.com'
2、更改端口为:3533
如果的TCP端口更改为其他的端口,那么在客户端的配置中需要做如下的:
->Microsoft sql 2005 ->配置工具->sql server configration manage ,如下图:

配置中选择SQLEXPRESS 如下图所示:

中,协议对话框的内容,按照如下设置:



在来设置客户端的协议的端口,界面如下所示
弹出的协议窗口中,更改默认的端口,设置如下图所示。

连接字符串也应该做相应的更改,否则还是无法连接打库。
Provider=SQLNCLI.1;Persist Security Info=True;User ID=****;Password=**;Initial Catalog=tablename;Data Source=202.000.000.000,3533.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!