Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Database Performance Analyzer (DPA) > DPA - Knowledgebase Articles > 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: 1,219 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
    --Give SYSADMIN rights to the DPA user
    EXEC sys.sp_addsrvrolemember @loginame = N'username', @rolename = N'sysadmin'
Last modified