Solved

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

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

930 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

14 Experts available now in Live!

Get 1:1 Help Now