When you create the IMS Server database
in Microsoft SQL Server
2005 and 2008 manually, you must specify the correct attributes for
the logon name, user and collation.
- Prerequisites
- Preparing a database server with SQL Server
Procedure
- Log on to the SQL Server Management Studio with sa credentials.
- Create a database.
- In the Object Explorer panel,
right-click Databases.
- Click New Database.
- In the Database Name field, provide
the database name. For example: imsdb
- Set the collation.
- In the Select a Page panel, click Options.
- From the Collation list, select
the collation SQL_Latin1_General_CP1_CS_AS.
- Click OK.
- Create a SQL Server
logon. For example: imsdbusr
- In the Object Explorer panel,
expand .
- Select Logins, right-click New
Login, and select SQL Server authentication.
- Enter a logon name. For example: imsdbusr
- Enter the password twice.
- Clear the Enforce password policy check
box.
- For Default Database, select
the database you created in step 2.
- Click OK.
- Create a user.
- In the Object Explorer panel,
expand .
- Select Users.
- Right-click Users and select New
User.
- In each of the following fields, type the same name
that you specified in step 4 :
- User name
- Login name
- Default schema
For example: imsdbusr
- In the Database role membership panel,
select db_owner.
- Click OK.
- Add the schema.
- In the Object Explorer panel,
expand .
- Click New Schema.
- Type the name you specified in step 4,
for each of the following fields:
For example: imsdbusr
- Click OK.
- Close SQL Server Management Studio.