Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

Home > Success Center > Database Performance Analyzer (DPA) > Recreate the DPA monitoring user for SQL Server

Recreate the DPA monitoring user for SQL Server

Table of contents
No headers
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 129 Votes: 1 Revisions: 11

If you deleted or lost the SQL Server user that DPA uses for monitoring a SQL Server database instance, follow these steps to recreate the user with proper rights and privileges:

  1. Connect as a SYSADMIN user to the monitored database.
  2. Replace username and password in the script below with the credentials that were deleted.
  3. Run the script:
    --Create DPA login
    
    CREATE LOGIN [username] WITH
      PASSWORD=N'password',
      DEFAULT_DATABASE=[master],
      DEFAULT_LANGUAGE=[us_english],
      CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
    GO
    
    --Give SYSADMIN rights to the DPA user
    EXEC sys.sp_addsrvrolemember @loginame = N'username', @rolename = N'sysadmin'
    GO
Last modified
19:17, 22 Jun 2016

Tags

Classifications

Public