Solved

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

Posted on 2006-06-27
3
2,673 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
string fuctions 4 25
Get the latest status 8 29
SQL Server - Find Unmatched Records Between Two Tables - Has Trouble with Nulls 10 28
SQL Improvement  ( Speed) 14 26
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

815 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now