Solved

How can I change the default data directory in SQL Server 2005?

Posted on 2006-06-27
3
2,674 Views
Last Modified: 2008-02-26
I can see the default data directory listed but it is grayed out.  How can I change it?

Thanks,

Todd
0
Comment
Question by:Todd_Anderson
3 Comments
 
LVL 18

Expert Comment

by:ShogunWade
ID: 16998778
Easiest way is to log in as the sql server service account if thats possible
0
 

Accepted Solution

by:
QuinnB74 earned 125 total points
ID: 16999214
Change the Data file location of the Model database (Right click on 'Model', Select Properties, Data Files Tab)

All new databases created will use this location as default.

Hope this Helps
QB
0
 

Author Comment

by:Todd_Anderson
ID: 17002763
Ok, sorry about the delay.  Had to take care of some other things this morning.

QB's comment made me realize that I already had changed the default data directory.  I had already moved the 'Model' database using the MS procedure so everything was working as I had wanted.  What confused me was this:

  Configuration Manager --> Services --> right click on SQL Server --> Properties --> Advanced tab

There is a listing for Data Path, which is grayed out, which is not the location of the Model database.  I guess that is something different?

I created a test database and the default location was where the Model database is, which is what I want!

Thanks,

Todd
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Insert to Begin if data exists 2 33
SSIS On fail action 5 38
SQL Syntax Grouping Sum question 7 27
question about results where i dont have a match 3 23
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question