Sqlserver denied permission to Create Database in database 'master'

solution

  • Open the SqlServer Manament Studio software and log in
    • Select Security->Login->Find your current user

Right-click on your login name - Properties, configure the corresponding 服务器角色权限 (this requires checking the permissions of dbcreator, this If you don’t know what permissions are needed, you can directly check all permissions or sysadmin permissions). You need to log in with the Windows user who first installed the database, otherwise the server role configuration will fail

Guess you like

Origin blog.csdn.net/zgscwxd/article/details/134632683