One, create linked server login via Sys.sp_addlinkedsrvloginWhen you need to access linked server on the local server, local server must logon to linked server, use Sys.sp_addlinkedsrvlogin to specify local server Login login account for linked
Used to be confused by the user name and login name in SQL Server, because the SA (login name) to take care of everything, of course, there are some security risks. The article on the Internet seems to speak very well, but still do not understand.
Map existing database users to the SQL Server login name.
Note:
Sp_change_users_login cannot be used as a Windows login name.
Transact-SQL syntax conventions
Syntax
sp_change_users_login [ @Action = ]
Summary of the relationship between the SQL Server user name and the login name
Login Name:An entity of the server. A login name can only enter the server, but cannot allow users to access database resources on the server. The definitions of each
Theoretical basisDatabase server is one of the most widely used server types, and many enterprises have to purchase database server in the process of informatization construction. Database server is mainly used for storing, querying and retrieving
Recently a friend of SQL Server database accidentally shot, after several setbacks, the data restores the database to the new environment. After recovery, there is a user name at the database level and the instance level does not have a
The applicationpoolidentity is a virtual account in Windows are dynamically generated when the application pools is CR Eated and takes on the name of the application pool in this manner:iis apppool\. For instance, the application pool MyApp would
As an OPS person log in to the server this action is higher than the frequency at which we eat and drink. In general, no one all day in the computer room management of the company server, the room this place for our healthy life can be less or less
1. "SQL server does not exist or access is denied"
This is the most complex. There are many causes of errors and there are many aspects to check.
Generally, there are several possibilities:
1. incorrect spelling of the SQL server name or IP address2.
1.init start-up;
2.fork, Exec executes Getty;
3.getty Open terminal, set standard input and output and standard error output;
4.getty again exec execute login;
5.login checks the username and password in the/etc/passwd and obtains various
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.