Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation of SQL sever encountered duplicate instance name and invalid credentials

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The school has set up a database course this semester, which requires us to install a SQL sever software to practice using.

I found SQL sever 2008R2 resources in the official account, the software installation housekeeper. After downloading and decompressing the package, I began to install it step by step according to the tutorial. I thought it could be installed smoothly, but the following problems occurred in the first few steps:

1. Displays the prompt that the instance name is already in use. Later, I searched my browser and found that the reason for this prompt was that the computer had already installed SQL sever. (I thought, that's true, because I started with version 2016, but I didn't succeed, so I chose the 2008R2 version again.)

Solution: one is to uninstall the default instance, and the other is to reset a new instance name yourself, but it is said that when you connect to SQL sever, you have to use the machine name plus the instance name you set to access it. For example: sever=127.0.0.1\ aaa (aaa is your own instance name) this method I have not tried, is to see other people's answers.

The first method I choose (win10 as an example): click "Control Panel"-find the previous SQL sever installation package to be uninstalled "right-click"-Select "Uninstall"-select "remove"-will enter an interface and click on the features to be removed or select all (if you reinstall another version, you can select all, I am to delete 2016, reinstall the 2008R2)-click "next" and wait for the removal to be finished.

Because I have already deleted, so I choose to delete fewer functions. Then you can reinstall it.

two。 Another problem I encountered was that during "server configuration", the credentials provided for the SQL sever proxy service were invalid; the credentials specified by the SQL sever service were invalid, and it turned out that I forgot to choose the account name. The account name should be "NT AUTHORITY\ NET."

After solving these two problems, my SQL sever is finally installed.

Because I have installed it many times and even tried MY SQL, but it didn't work.

Finally, I would like to recommend the official account of conscience again-- the software installation housekeeper, which is really practical. Some of the software I installed for our professional use are found here, and the installation tutorial is very detailed and good.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report