When I create a database in SQL Server 2008 Enterprise on Windows Server 2008 from SQL Server Management Studio, I want to assign the data and log file to be stored on a network mapped drive Z (I map \\10.10.10.123\shared
to drive Z). But I can only see local drive C and D from SQL Server Management Studio UI to select to put data file to, can not see drive Z. Anything wrong?
I have two ideas, not sure whether they are correct,
- I run SQL Server service instance LocalService account, could that be the cause that network mapped drive can not be accessed? (my confusion is I am using administrator to log into Windows Server 2008, and administrator could access network shared drive from My Computer. When we select drive from SQL Server Management Studio, is administrator acconut being used or LocalService account being used?)
- The network shared location is protected by username and password -- i.e. when open the network mapped drive from
\\10.10.10.123\shared
, we need to put a username and password, and according to the permission of username, we could write or read or no permission.
thanks in advance, George