How to modify the SQL Server 2008 database server name

Source: Internet
Author: User
Tags sql 2008

Install SQL Server 2008 in one virtual machine, then copy the virtual machine file one out, then revert to another virtual machine, so that you can use 2 virtual machines for replication experiments.

To do database replication experiments on SQL Server 2008, you need two servers, so you need to open 2 virtual machines (VPC) at the same time, and of course it is impossible to install 2 SQL Server alone, the installation process is too time-consuming, so the SQL is installed in a virtual machine 2008, and then copy the virtual machine file one out, and then revert to another virtual machine, so that you can use 2 virtual machines for replication experiments.

The Windows 2003 operating system is installed in the virtual machine SQL 2008 RC0, the machine name is Ms-zy, and then SQL Server 2008 is installed, so the database's server name is Ms-zy.

Next copy the past to restore the virtual machine SQL2008RC02, when two virtual machines are open, if all are Ms-zy server name, it will not be recognized, so I changed the machine name of the second virtual machine to ms-zy2. I can use SSMs to access the second database through this name.

Related Article

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.