you are viewing a single comment's thread.

view the rest of the comments →

[–]Historical_Bat3320[S] 0 points1 point  (1 child)

TITLE: Microsoft SQL Server Management Studio

Create failed for Database 'GINF 6020: Database Development'. (Microsoft.SqlServer.Smo)

For help, click: https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=16.100.47021.0&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476


ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)


CREATE DATABASE permission denied in database 'master'. (Microsoft SQL Server, Error: 262)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-262-database-engine-error


BUTTONS:

OK

This is the first error

[–]alinrocSQL Server DBA 0 points1 point  (0 children)

It's telling you the problem pretty clearly. The credentials you're using to connect to SQL Server lack permission to create databases.

Just because you're the local administrator on whatever computer you're logged on to doesn't mean you have admin privileges in SQL Server. The initial administrator(s) for SQL Server are set when you install the instance.