How to create default instance after creating a named instance?

前端 未结 5 1018
Happy的楠姐
Happy的楠姐 2021-01-02 01:24

when installing SQLServer2005 developer edition (not express) I created a named instance:

MYSERVERNAME/MYINSTANCENAME

Is it possible to

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-02 02:28

    If you have installed a named instance. You cannot change the name to default. You can however: * make the named instance listen to the default port. * OR create aliases (with name like MSSQLServer or the IP address, as a trick) to make your clients work. * If this workaround doesn't help then your best bet is to uninstall SQL Complete and re-install again but chances are that the new installation might take the named instance's name again even if you selected 'default instance'. You can verify this in the SQL services to see if it is still taking the old name. In this case, the best way (which worked for me) is to install a new instance with the explicit name of MSSQLServer which is known to be the default instance name.

    Keep in mind also that SQL takes the computer name and uses it as an alias.

提交回复
热议问题