mssql还原数据库失败

标题: Microsoft SQL Server Management Studio


服务器 "192.168.31.132" 的 附加数据库 失败。 (Microsoft.SqlServer.Smo)

有关帮助信息,请单击: https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server\&ProdVer=16.100.46041.41+(SMO-master-A)\&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText\&EvtID=附加数据库+Server\&LinkId=20476


其他信息:

执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)


Database 'XXXXXX' cannot be upgraded because it is read-only, has read-only files or the user does not have permissions to modify some of the files. Make the database or files writeable, and rerun recovery. (Microsoft SQL Server,错误: 3415)

有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft SQL Server\&ProdVer=15.00.4261\&EvtSrc=MSSQLServer\&EvtID=3415\&LinkId=20476


按钮:

确定


文件权限问题,处理:

bash 复制代码
chmod 777 文件赋予所有用户可读可执行(最高权限是 777)
chmod 777  OA.Web.mdf
chmod 777  OA.Web_log.ldf
相关推荐
考虑考虑1 小时前
postgressql更新时间
数据库·后端·postgresql
甄超锋1 小时前
python sqlite3模块
jvm·数据库·python·测试工具·django·sqlite·flask
HMBBLOVEPDX2 小时前
MySQL的锁:
数据库·mysql
数据皮皮侠3 小时前
最新上市公司业绩说明会文本数据(2017.02-2025.08)
大数据·数据库·人工智能·笔记·物联网·小程序·区块链
小云数据库服务专线3 小时前
GaussDB数据库架构师修炼(十六) 如何选择磁盘
数据库·数据库架构·gaussdb
码出财富4 小时前
SQL语法大全指南
数据库·mysql·oracle
异世界贤狼转生码农6 小时前
MongoDB Windows 系统实战手册:从配置到数据处理入门
数据库·mongodb
QuZhengRong6 小时前
【数据库】Navicat 导入 Excel 数据乱码问题的解决方法
android·数据库·excel
码农阿豪6 小时前
Windows从零到一安装KingbaseES数据库及使用ksql工具连接全指南
数据库·windows
时序数据说12 小时前
时序数据库市场前景分析
大数据·数据库·物联网·开源·时序数据库