Hur kan vi hjälpa dig idag?
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
Publicerad för: Schneider Electric Sverige
Utforska mer
Produkt:
Utforska mer
Produkt:
Behöver du hjälp?
Produktväljare
Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.
Begär en offert
Ställ din fråga online så kontaktar vi dig.
Här köper du
Hitta enkelt närmaste Schneider Electric-distributör på din ort.
Hjälpcenter
Hitta alla supportresurser som du behöver på ett ställe.