• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Change MS SQL default install path

M

Michael Andrews

Guest
I have the default install path change in sql server to a drive like E:\sqlserver\somefolder
It works when I create a database manually, but when I create one in plesk, it still creates it under c:\program files....
How do i tell plesk to create it under a different directory?
 
Try to change path for MYSQL_VAR_D in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config
 
I changed that but it still created the DB in c:\program files.... any other ideas?
 
I'm trying to change the default path of the ms sql not mysql if that helps any.
 
Did you try

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup

or

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\MSSQL.1\Setup
 
Ok new question. Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\
I have MSSQL10.InstanceName
Under that in setup I have SQLPath that = c:\program files\microsoft sql server\mssql10.sql2008\mssql
However when a database created with plesk the path is c:\program files\microsoft sql server\mssql10.sql2008\mssql\data
Would that be the right thing to change?
 
Don't use \data. By default it's always written to the child folder data. So its not needed in the registry value. If you did then then the databases would be saved to ../data/data
 
So I changed those but the DBs are still going in under c:\program files\... do I need to reset IIS or restart the server or something for these changes to work?
 
Back
Top