我们今天能为您提供什么帮助?

Modifying the Default Database Path and the SQL Errorlog Path

Issue
If databases, particularly the system databases, have been relocated to a new drive/volume or the disk configuration has changed,
a recommended best practice would be to change the SQL Server Agent log path as well as the Default Database locations path.

Product
Power Monitoring Expert 7.2.x

Power Monitoring Expert 8.x

Power Monitoring Expert 9.x

Power Monitoring Expert 2020

Power Monitoring Expert 2021

Power Monitoring Expert 2022

Power Monitoring Expert 2023

Power Monitoring Expert 2024

Environment
SQL Server Instance

Cause
The SQL Agent may fail to start, or creating a database may fail if the original drive letter\path does not exist anymore.

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*


To change the SQL Agent log path:
1. In SQL Server Management Studio expand SQL Server Agent
2. Right-click on Errorlogs
3. Click on Configure
4. Change the Error Log File path to the new desired location

To change the Database Default Locations path
1. In SQL Server Management Studio right-click on the SQL Server name
2. Choose Prooperties
3. Choose Database Settings
4. Under "Database Default Locations" modify the Data and Log paths to the new, desired location

施耐德電機Taiwan

探索更多

產品:

探索更多

產品:

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。