+

Search Tips   |   Advanced Search

Windows clustered server: Create SQL Server database schemas and users


To create database schemas and users, we can create a copy of the template SQL scripts and edit this copy to manually create the database schemas and users. The template SQL scripts should be used as a guide for creating executable scripts and contain invalid SQL syntax.

Before beginning:

At least one user is required for each SQL Server instance. Take care to create users in an environment that has the same settings as the actual runtime environment.

For example, avoid creating a user in an English environment if you plan to use that user in a Turkish environment.

SQL script templates:

Database domain Location of template
Release PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\release\createSchema.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\release\createRuntimeUsers.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\release\createUsers.sql

Community PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\community\createSchema.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\community\createRuntimeUsers.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\community\createUsers.sql

Customization PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\customization\createSchema.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\customization\createRuntimeUsers.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\customization\createUsers.sql

JCR PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\jcr\createSchema.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\jcr\createRuntimeUsers.sql

PORTAL_HOME\base\wp.db.impl\config\templates\setupdb\sqlserver2005\jcr\createUsers.sql

Feedback PORTAL_HOME\pzn\prereq.pzn\config\templates\setupdb\sqlserver2005\feedback\createSchema.sql

PORTAL_HOME\pzn\prereq.pzn\config\templates\setupdb\sqlserver2005\feedback\createRuntimeUsers.sql

PORTAL_HOME\pzn\prereq.pzn\config\templates\setupdb\sqlserver2005\feedback\createUsers.sql

Likeminds PORTAL_HOME\pzn\prereq.pzn\config\templates\setupdb\sqlserver2005\likeminds\createSchema.sql

PORTAL_HOME\pzn\prereq.pzn\config\templates\setupdb\sqlserver2005\likeminds\createRuntimeUsers.sql

PORTAL_HOME\pzn\prereq.pzn\config\templates\setupdb\sqlserver2005\likeminds\createUsers.sql


Parent: Windows clustered server: Set up SQL Server manually