Creating Databases with SQL Server Management Studio

General

This article describes how to use the Microsoft SQL Management Console to create the databases required for Webdesk EWP

  • webdesk
  • shark

and to define a technical user for access from Webdesk.

Steps in Detail

Open the SQL Management Console

Connect to SQLEXPRESS using Windows authentication.
Installation SQL Manag Studio 1

In the Object Explorer, expand the server node

  • Right-click Databases - create a new database
    Installation SQL Manag Studio 2
    General tab: Name: webdesk
  • Security - right-click Logins - New Login
    Installation SQL Manag Studio 2_1
    • General:
      Installation SQL Manag Studio 2_2
      Vergrößern
      • Name: wdadm
      • Select SQL Server authentication
      • Enter the password twice
      • Disable Enforce password policy
    • Check the server roles:
      Installation SQL Manag Studio 2_3
      Vergrößern
      • dbcreator
      • public
  • Databases - webdesk - Security - Users:
    Installation SQL Manag Studio 7
  • Right-click Users --> New User
    • General:
      Installation SQL Manag Studio 8
      Vergrößern
      • User type: SQL user with login
      • User name: wdadm
      • Login name: wdadm
      • Default schema: dbo
    • Check Owned Schemas
      Installation SQL Manag Studio 9
      Vergrößern
      • db_owner
    • Check Membership
      Installation SQL Manag Studio 10
      Vergrößern
      • db_owner
  • Create the database
    General tab: Name: shark
  • Databases, shark, Security, Users:
    • Right-click, New User
    • General:
      • User type: SQL user with login
      • User name: wdadm
      • Login name: wdadm
      • Default schema: dbo
    • Check Owned Schemas
      • db_owner
    • Check Membership
      • db_owner
  • Right-click the SQL Server
    Installation SQL Manag Studio 11
  • Open Properties:
    • Security tab
      under Server authentication, select the option "SQL Server and Windows Authentication mode", then OK
      Installation SQL Manag Studio 12
      Vergrößern
  • Restart the server service

IMPORTANT! The user must be the owner of the databases in order to be allowed to read, write, and delete data; otherwise Webdesk cannot function properly.

Kommentare (0)