FIX: "Access is denied" error when you try to create a database in SQL Server 2017 Express LocalDB

Van toepassing: SQL Server 2017 Express Linux

Symptoms


Assume that you use Microsoft SQL Server 2017 Express LocalDB (SqlLocalDB). When you create a database, you receive an error message that resembles the following:

Resolution


The fix for this problem is included in Cumulative Update 6 for SQL Server 2017.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the standard terminology Microsoft uses to describe software updates.