系统数据库文件路径
master <drvie>:\program files\microsoft sql server\mssql10.<instance_name>\data master.mdf mastlog.ldf
msdb <drvie>:\program files\microsoft sql server\mssql10.<instance_name>\data msdbdata.mdf msdblog.ldf
model <drvie>:\program files\microsoft sql server\mssql10.<instance_name>\data model.mdf modellog.ldf
tempdb <drvie>:\program files\microsoft sql server\mssql10.<instance_name>\data tempdb.mdf templog.ldf
resource <drive>:\program files\microsoft sql server\mssql10.<instance_name>\binn mssqlsystem-resource.mdf mssqlsystem-resource.ldf
SQL SERVER 版本路径
2008 <drive>:\program files\microsoft sql server\100\
2005 <drive>:\program files\microsoft sql server\90\
2000 <drive>:\program files\microsoft sql server\80\
安装/升级日志文件路径:
<drive>:\program files\microsoft sql server\\100\setup bootstrap\log\files\summary.txt
最近修改核心日志文件:
<drive>:\program files\microsoft sql server\\100\setup bootstrap\log\files\sqlsetup[xxx]_[电脑名]_Core.log
最近修改windows 用户 接口文件:
<drive>:\program files\microsoft sql server\\100\setup bootstrap\log\files\sqlsetup[xxxx][s]_[电脑名]_WI.log
组件安装文件:
<drive>:\program files\microsoft sql server\\100\setup bootstrap\log\files\sql setup[xxx]_{电脑名}_SQL.log
错误日志存放路径:
<drives>:\Program Files\Microsoft SQL Server\MSSQL10.<instance>\MSSQL\Log\ERRORLOG
路径可以不用记,但是记住最好。
可以从【SQL Server配置管理器】→选择【SQL Server 服务】→【SQL Server(实例名)】→【属性】→【高级】→【启动参数】中获取,截图是SQL Server2012截图,和2008稍微有所不同,但是大概操作都是相同的: