Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

How to mount read-only databases on SQL Server for Linux?

$
0
0

I've recently installed the latest SQL Server for Linux to test it with our existing databases and archives.  My machine is running Ubunutu 16.10, and the SQL Server package is version 14.0.100.187-1.  As part of my tests I tried to attach a database in read-only mode, but this fails.  The database files are owned by the 'mysql' user, and have read privileges set.  But when I try to attach the database I get the following error:

Property MemoryAllocatedToMemoryOptimizedObjectsInKB is not available for Database '[SSA]'. This property may not exist for this object, or may
not be retrievable due to insufficient access rights.  (SqlManagerUI)

The database attaches correctly if I set the files with read-write permssions, so the problem seems to strictly relate to read-only mode.  Is it possible to mount databases read-only on thie Linux version of SQL Server?  If so, how?


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>