Creating the database for Windows authentication
To create the database for Windows authentication
- Create a single user and schema in your domain.
For example, <Domain name>\SmartIT_Business Create the database schema by running a script similar to the following example script:
USE master
GO
CREATE DATABASE SmartIT
GO
use SmartIT
GO
CREATE LOGIN [<Domain name>\SmartIT_Business] FROM WINDOWS;
GO
CREATE USER [<Domain name>\SmartIT_Business] from LOGIN [<Domain name>\SmartIT_Business]
GO
CREATE SCHEMA SmartIT_Business AUTHORIZATION [<Domain name>\SmartIT_Business]
GO
ALTER USER [<Domain name>\SmartIT_Business] WITH DEFAULT_SCHEMA = SmartIT_Business
GO
GRANT CONNECT,CREATE TABLE,CREATE SCHEMA TO [<Domain name>\SmartIT_Business]
GO- On your installation worksheet, write the database name, user, and password.
- During installation, select the Use Pre-created DB option.
Enter the user name as <Domain name>\SmartIT_Business (example from Step1) along with the domain password.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*