Can't save database default locations in SQL Server

风流意气都作罢 提交于 2019-12-06 16:32:48

问题


I'm trying to change the default directories for data and logs using SQL Server Management Studio. I change the path then click ok but it always reverts back to the old directory in Program Files. Anyone else seen this bug? I'm using SQL Server 2012 Standard.

I do see that the correct values are saved in the registry, but they aren't being obeyed by the studio or other connecting applications that would create new databases.


回答1:


According to Microsoft, you must restart the SQL Server service for this to take effect.

You can do this easily via the Configuration Manager, or via the services.msc snap-in if you prefer that.



来源:https://stackoverflow.com/questions/26070953/cant-save-database-default-locations-in-sql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!