[英]Can't install adventure works on sql server express 2014
First of all, I am new to SQL and I am using virtual box on my mac to run Windows 10 for SSMS. 首先,我是SQL的新手,我在Mac上使用虚拟盒运行Windows 10 for SSMS。
I have installed sql server 2014 express and I wanted to install adventure works OLTP script 2012 on it. 我已经安装了sql server 2014 Express,并且想在其上安装Adventure Works OLTP脚本2012。 It didn't work.
没用 I followed the instructions but it always ended up with:
我按照说明进行操作,但始终以:
Msg 5123, Level 16, State 1, Line 92 CREATE FILE encountered operating system error 5(access is denied) ....
消息5123,级别16,状态1,第92行创建文件遇到操作系统错误5(访问被拒绝)...。
I am aware it is related to an access problem but I don't know how to change it. 我知道它与访问问题有关,但我不知道如何更改它。
Can you help me please, with specific details on how to process where to go etc. 请提供有关如何处理去往地点的具体详细信息,请您帮我一下
Thank you a lot. 非常感谢。
thank you for your answers, I actually managed to install Adventures works 2012 by installing the adventureworks2012_data file. 感谢您的回答,实际上我通过安装Adventureworks2012_data文件成功安装了Adventures Works 2012。 I copied the file here:
我在这里复制了文件:
C:\\program files\\microsoft sql server\\mssql12.sqlexpress\\msql\\data\\ C:\\ program files \\ microsoft sql server \\ mssql12.sqlexpress \\ msql \\ data \\
Then I went on SSMS, right clicked on databases, attach, add, then found the file I just copied in the path above, clicked ok, then refreshed the database. 然后我继续使用SSMS,右键单击数据库,附加,添加,然后在上面的路径中找到刚复制的文件,单击“确定”,然后刷新数据库。
Voilà. Voilà。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.