MSSQLSERVER-Publish-Subscribe-MySQL

Source: Internet
Author: User
MSSQLSERVER-publish-subscribe to zookeeper I. environment

Publishing server

O s: Windows servier 2003 64-bit

Soft: Microsoft SqlServer 2008 R2

I P: 192.168.3.70

HOST-NAME: wxl-PC

Distributor

O s: Windows servier 2003 64-bit

Soft: Microsoft SqlServer 2008 R2

I P: 192.168.23.130

HOST-NAME: wxl-pc-vm2

Subscription:

O s: Windows servier 2003 64-bit

Soft: Microsoft SqlServer 2008 R2

I P: 192.168.23.129

HOST-NAME: wxl-pc-vm1

II. configuration

1,Modify the database instance name (skip this step if the computer name is not modified)

Because the distributor name is modified, you need to modify the instance name to make the server name consistent with the instance name.

Query instance name select @ servername

Delete old strength name EXECsp_dropserver 'wxl-pc-vm2'

Add the repaired instance name execsp_addserver 'wxl-pc-vm2/sql1', 'local'

Restart service

Query SELECT @ SERVERNAME, SERVERPROPERTY ('servername ')

If the two columns are consistent, the strength name is modified successfully.

2. configure aliases

Distributor:

Start SQL Server Configuration Manager

SQL Server network configuration à TCP/IP à enabled

SQL Native Client 10.0 configuration (32-bit) à alias à New alias such:

% 20 <

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.