alfresco
SQLServer 2008-2014에서 Alfresco 데이터베이스를 작성하기위한 T-SQL 스크립트
수색…
소개
Alfresco 설치 목적으로 새 데이터베이스와 사용자를 만들고 구성하기위한 T-SQL 스크립트가 있으면 유용합니다. MSDN의 많은 페이지를 뛰어 다니는 것은 지루하고 시간이 오래 걸립니다.
나는이 스크립트를 다음에 제공한다.
비고
Alfresco Instalation을 SQLServer 데이터베이스에 준비하기위한 지침은 여기에서 읽을 수 있습니다.
T-SQL_script_4_alfresco
/* creates a database for Alfresco, on SQLServer 2008- 2014 */
use master;
GO
CREATE DATABASE alfresco;
GO
/* creates a new LOGIN and associated User
use alfresco;
GO
CREATE LOGIN alfresco WITH PASSWORD = 'alfresco';
GO
use alfresco;
go
CREATE USER alfresco FOR LOGIN alfresco;
GO
/* Now try to add alfresco user to the db_owner Role
NOTICE: coinnect to alfresco database before
you can also connect as a local Windows user,
in order to successfully execute the followings: */
use alfresco;
GO
EXEC sp_addrolemember N'db_owner', N'alfresco';
GO
/* sets Isolation level */
ALTER DATABASE alfresco SET ALLOW_SNAPSHOT_ISOLATION ON;
GO
/* creates and sets the alfesco schema as the default one */
use alfresco;
go
CREATE SCHEMA alfresco AUTHORIZATION alfresco;
GO
ALTER USER alfresco WITH DEFAULT_SCHEMA = alfresco;
GO
/* tests table creation */
drop table _buttamiVia_;
GO
create table _buttamiVia_
( id int not null );
GO
Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow