-
Access the Database Configuration Assistant using one of the following methods:
-
Windows: Launch Microsoft SQL Server Management Studio from Start menu.
-
Linux: no UI available. Either connect it from windows Microsoft SQL Server Management Studio or use
sqlcmd for creating new database user account for Isight.
-
Log in to Microsoft SQL Server Management Studio.
-
After successful login, press New Query, copy the SQL code below, and paste it into the new query window.
CREATE LOGIN <DATABASE_LOGIN>
WITH PASSWORD = '<DATABASE_PASSWORD>',
CHECK_POLICY = OFF,
CHECK_EXPIRATION = OFF,
DEFAULT_DATABASE = [<DATABASE_NAME>];
GO
USE [<DATABASE_NAME>];
GO
CREATE USER [<DATABASE_LOGIN>] FOR LOGIN [<DATABASE_LOGIN>];
GO
GRANT CREATE TABLE,
ALTER,
REFERENCES,
SELECT,
INSERT,
UPDATE,
DELETE
ON DATABASE::<DATABASE_NAME> TO <DATABASE_LOGIN>;
GO
Where:
<DATABASE_NAME> - Name of the database
<DATABASE_LOGIN> - Login name for the new user account
<DATABASE_PASSWORD> - Password for the new user account
|